added dockerfiles

for building the stuff
This commit is contained in:
2025-07-19 00:44:28 -04:00
parent 6eea6724bf
commit 79cc4caa58
3 changed files with 44 additions and 0 deletions

17
frontend/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM denoland/deno:alpine
RUN apk add bash
# USER deno
RUN deno cache --reload deno.json
COPY . .
RUN bash -c 'deno cache main.ts'
RUN bash -c 'deno task build'
EXPOSE 8000
CMD ['run', '-A', 'main.ts']