Files
bewcloud/Dockerfile
Bruno Bernardino 6734e9557b Update all dependencies
This takes part of the work being done in #96 that was reverted but still useful.

Note Tailwind and Fresh weren't upgraded because there's no security vulnerability in either, and I have found the new versions to be worse in performance. Thos will likely stay at those fixed versions going forward.
2025-09-27 19:39:09 +01:00

24 lines
464 B
Docker

FROM denoland/deno:ubuntu-2.5.2
EXPOSE 8000
RUN apt-get update && apt-get install -y make
WORKDIR /app
# These steps will be re-run upon each file change in your working directory:
ADD . /app
# Build fresh
RUN deno task build
RUN chown -R deno:deno /app /deno-dir
# Prefer not to run as root.
USER deno
# Compile the main app so that it doesn't need to be compiled each startup/entry.
RUN deno cache --reload main.ts
CMD ["run", "--allow-all", "main.ts"]