mirror of
https://github.com/bewcloud/bewcloud.git
synced 2026-03-11 08:54:49 +00:00
Upgrade deno
This commit is contained in:
parent
9b957b6808
commit
afd0c3c63f
2 changed files with 7 additions and 2 deletions
2
.dvmrc
2
.dvmrc
|
|
@ -1 +1 @@
|
|||
2.5.1
|
||||
2.5.2
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM denoland/deno:ubuntu-2.5.1
|
||||
FROM denoland/deno:ubuntu-2.5.2
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
|
|
@ -14,6 +14,11 @@ RUN rm -fr node_modules _fresh
|
|||
# Build fresh
|
||||
RUN deno task build
|
||||
|
||||
RUN chown -R deno:deno /app
|
||||
|
||||
# Prefer not to run as root.
|
||||
USER deno
|
||||
|
||||
# Compile the main app so that it doesn't need to be compiled each startup/entry.
|
||||
RUN deno cache _fresh/server.js
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue