deno-deploy/Dockerfile
2023-06-09 04:00:45 +00:00

10 lines
274 B
Docker

FROM denoland/deno:1.34.2 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
COPY run.ts /bin/
RUN chmod +x /bin/run.ts && deno cache /bin/run.ts
USER deno
CMD ["/bin/run.ts"]