diff --git a/Dockerfile b/Dockerfile index 74aab20..e0cc47a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,9 +20,9 @@ RUN chown -R deno:deno /app /deno-dir USER deno # Compile the main app so that it doesn't need to be compiled each startup/entry. -RUN deno cache --reload main.ts +RUN deno cache _fresh/server.js # Allow the crons to start ENV START_BEWCLOUD_CRONS=true -CMD ["run", "--allow-all", "main.ts"] +CMD ["serve", "-A", "_fresh/server.js"]