web: add docker file
This commit is contained in:
parent
2822a45dee
commit
6b9f07a6a5
|
@ -0,0 +1,13 @@
|
|||
FROM denoland/deno:alpine-1.22.1
|
||||
|
||||
EXPOSE 33334
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
USER deno
|
||||
|
||||
ADD . .
|
||||
# Compile the main app so that it doesn't need to be compiled each startup/entry.
|
||||
RUN deno cache server.ts
|
||||
|
||||
CMD ["run", "-A", "server.ts"]
|
Loading…
Reference in New Issue