kushranadaK
Denoβ€’3y agoβ€’
9 replies
kushranada

Fresh in a Docker exiting process

Not sure whats going wrong. Works fine on deno deploy.
But when trying to run it inside a docker container the process exits shortly after starting.

https://github.com/Robspin/deno-fresh-blog

My Dockerfile:

FROM denoland/deno:1.31.1

ARG GIT_REVISION
ENV DENO_DEPLOYMENT_ID=${GIT_REVISION}

WORKDIR /app

COPY . .
RUN deno cache main.ts --import-map=import_map.json

EXPOSE 8000

CMD ["task", "production"]


Does anyone have any thoughts or similar experience?
GitHub
Contribute to Robspin/deno-fresh-blog development by creating an account on GitHub.
GitHub - Robspin/deno-fresh-blog
Was this page helpful?