2022-06-08 22:50:12 +03:00
|
|
|
FROM denoland/deno:alpine-1.22.1
|
2022-03-22 10:15:23 +03:00
|
|
|
|
2022-06-08 22:50:12 +03:00
|
|
|
EXPOSE 33334
|
2022-03-22 10:15:23 +03:00
|
|
|
|
2022-06-08 22:50:12 +03:00
|
|
|
WORKDIR /app
|
2022-03-22 19:39:52 +03:00
|
|
|
|
2022-06-08 22:50:12 +03:00
|
|
|
USER deno
|
2022-03-22 10:15:23 +03:00
|
|
|
|
2022-06-08 22:50:12 +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
|
|
|
|
2022-06-08 22:50:12 +03:00
|
|
|
CMD ["run", "-A", "server.ts"]
|