From 13715b82524bf0f6f0591055d09976e3807e6e2c Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Mon, 5 Dec 2022 20:33:06 +0100 Subject: [PATCH] add a cache maybe? Signed-off-by: Sam Therapy --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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