diff --git a/.dvmrc b/.dvmrc index 73462a5..f225a78 100644 --- a/.dvmrc +++ b/.dvmrc @@ -1 +1 @@ -2.5.1 +2.5.2 diff --git a/Dockerfile b/Dockerfile index 9cf4c20..e047175 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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