Files
my-website-v2/frontend/Dockerfile
Wyatt J. Miller c116b545fe
Some checks failed
Build and Release Docker Images / build-and-push (./backend, public/Dockerfile, my-website-v2_public) (pull_request) Failing after 21m29s
Build and Release Docker Images / build-and-push (./backend, task/Dockerfile, my-website-v2_task) (pull_request) Failing after 27m31s
Build and Release Docker Images / build-and-push (./frontend, Dockerfile, my-website-v2_frontend) (pull_request) Failing after 20m20s
Build and Release Docker Images / create-release (pull_request) Has been skipped
update frontend dockerfile
2025-12-25 13:02:10 -05:00

18 lines
218 B
Docker

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