Closed epikoder closed 8 months ago
I'm not having this problem with Deno 1.41.0
, here's my Dockerfile
in case it helps:
FROM denoland/deno:alpine-1.41.0
EXPOSE 8000
WORKDIR /app
ADD . /app
RUN rm -fr node_modules _fresh
RUN deno task build
RUN chown -R deno:deno /app /deno-dir
USER deno
RUN deno cache --reload main.ts
CMD ["run", "--allow-all", "main.ts"]
There is likely something that prevents the process from exciting. This usually happens when you're using Deno KV or Deno Queues in build mode.
Duplicate of https://github.com/denoland/fresh/issues/2240
Ahead of time build is stock when running
deno task build
Expected Exit on completion
Behviour Stock on this line
From the screenshot the left is Docker image
denoland/deno:1.38.3
while the right is host machine, I've also trieddenoland/deno:1.39.0
Here's my Dockerfile