memorium/Dockerfile

14 lines
192 B
Docker

FROM denoland/deno:latest
ARG GIT_REVISION
ENV DENO_DEPLOYMENT_ID=${GIT_REVISION}
WORKDIR /app
COPY . .
RUN deno cache main.ts && deno task build
EXPOSE 8000
CMD ["run", "-A", "main.ts"]