bewcloud/Dockerfile
Bruno Bernardino 770db3a605
Some checks failed
Build Docker Image / build-and-push (push) Has been cancelled
Deploy / deploy (push) Has been cancelled
Run Tests / test (push) Has been cancelled
Revert Deno version and unnecessary sub-dependencies. Fresh 1.7.3 won't play nice with Deno 2.6.x
I guess that'll keep this at Deno 2.5.x unless something terrible happens, because as per #99 we can't easily upgrade fresh.
2026-02-02 17:12:02 +00:00

23 lines
464 B
Docker

FROM denoland/deno:ubuntu-2.5.6
EXPOSE 8000
RUN apt-get update && apt-get install -y make zip coreutils
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 ["task", "preview"]