deno-fresh-test / Dockerfile
T1ckbase
remove DENO_DEPLOYMENT_ID
4984411
raw
history blame contribute delete
331 Bytes
FROM denoland/deno:latest
# ENV DENO_DEPLOYMENT_ID=123
EXPOSE 7860
WORKDIR /app
# Prefer not to run as root.
# USER deno
RUN deno install --entrypoint main.ts
COPY . .
# Compile the main app so that it doesn't need to be compiled each startup/entry.
# RUN deno cache main.ts
RUN deno task build
CMD ["run", "-A", "main.ts"]