pleshevski.ru/Dockerfile

14 lines
220 B
Text
Raw Normal View History

FROM denoland/deno:alpine-1.22.1
2022-03-22 10:15:23 +03:00
EXPOSE 33334
2022-03-22 10:15:23 +03:00
WORKDIR /app
2022-03-22 19:39:52 +03:00
USER deno
2022-03-22 10:15:23 +03:00
ADD . .
# Compile the main app so that it doesn't need to be compiled each startup/entry.
RUN deno cache server.ts
2022-03-22 10:15:23 +03:00
CMD ["run", "-A", "server.ts"]