mirror of
https://github.com/bewcloud/bewcloud.git
synced 2026-03-11 08:54:49 +00:00
Tweak docker file
This commit is contained in:
parent
0919fbab68
commit
d24d857080
1 changed files with 2 additions and 2 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue