diff --git a/Dockerfile b/Dockerfile index e137c19..cce1e30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM denoland/deno:1.28.3 +FROM denoland/deno:1.28.3 as base -RUN deno install --allow-read --allow-write --allow-env --allow-net --allow-run --no-check -r -f https://deno.land/x/deploy/deployctl.ts +RUN deno install --allow-read --allow-write --allow-env --allow-net --allow-run --no-check -r -f https://deno.land/x/deploy/deployctl.ts && deno cache https://deno.land/x/deploy/deployctl.ts COPY run.ts /bin/ RUN chmod +x /bin/run.ts