10 lines
285 B
Docker
10 lines
285 B
Docker
FROM denoland/deno:2.1.4 AS base
|
|
|
|
|
|
RUN deno install --allow-read --allow-write --allow-env --allow-net --allow-run --allow-sys --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"]
|