Tweak docker file

This commit is contained in:
Bruno Bernardino 2025-09-26 19:27:05 +01:00
parent 0919fbab68
commit d24d857080
No known key found for this signature in database
GPG key ID: D1B0A69ADD114ECE

View file

@ -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"]