toninhoT
Denoβ€’2y agoβ€’
1 reply
toninho

Cache fresh deps on docker problem

I have a brand new fresh project with only the default deps and when i try to put my app in a docker container it throws the error in the image

Dockerfile
FROM denoland/deno:1.41.0

ARG GIT_REVISION
ENV DENO_DEPLOYMENT_ID=${GIT_REVISION}

WORKDIR /app

COPY . .
RUN deno cache main.ts && \
    deno task build

CMD ["deno", "run", "-A", "main.ts"]
image.png
Was this page helpful?