Dockerfile 220 B

1234567891011121314
  1. FROM denoland/deno:2.7.9
  2. ARG GIT_REVISION
  3. ENV DENO_DEPLOYMENT_ID=${GIT_REVISION}
  4. WORKDIR /app
  5. COPY . .
  6. RUN deno install --allow-scripts
  7. RUN deno task build
  8. EXPOSE 8000
  9. CMD ["deno", "serve", "-A", "_fresh/server.js"]