atri.dad/Dockerfile
Atridad Lahiji 67f29ec389
All checks were successful
Docker Deploy / build-and-push (push) Successful in 1m28s
?
2025-04-24 12:46:27 -06:00

20 lines
276 B
Docker

FROM denoland/deno:alpine AS builder
WORKDIR /app
COPY . .
RUN deno cache main.ts
FROM denoland/deno:alpine
WORKDIR /app
COPY --from=builder /deno-dir/ /deno-dir/
COPY --from=builder /app/ /app/
ENV DENO_DEPLOYMENT=production
EXPOSE 8000
CMD ["run", "-A", "main.ts"]