deno-deploy/Dockerfile
Sam Therapy 13715b8252
All checks were successful
continuous-integration/drone/push Build is passing
add a cache maybe?
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-05 20:33:06 +01:00

10 lines
302 B
Docker

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 && deno cache https://deno.land/x/deploy/deployctl.ts
COPY run.ts /bin/
RUN chmod +x /bin/run.ts
USER deno
CMD ["/bin/run.ts"]