mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
16 lines
274 B
Docker
16 lines
274 B
Docker
FROM denoland/deno:1.15.3
|
|
|
|
WORKDIR /app
|
|
|
|
USER deno
|
|
|
|
# Cache deps first
|
|
ADD deps.ts .
|
|
RUN deno cache deps.ts
|
|
|
|
# These steps will be re-run upon each file change in your working directory:
|
|
ADD . .
|
|
RUN deno cache src/index.ts
|
|
|
|
CMD deno run --allow-net --allow-env src/index.ts
|