Some checks failed
Build and Release Docker Images / create-release (push) Has been skipped
Build and Release Docker Images / build-and-push (./frontend, Dockerfile, my-website-v2_frontend) (push) Failing after 17m1s
Build and Release Docker Images / build-and-push (./backend, task/Dockerfile, my-website-v2_task) (push) Failing after 23m36s
Build and Release Docker Images / build-and-push (./backend, public/Dockerfile, my-website-v2_public) (push) Failing after 20m55s
18 lines
218 B
Docker
18 lines
218 B
Docker
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 ['deno', 'run', '-A', 'main.ts']
|