Adds Docker Config

This commit is contained in:
2023-05-14 14:32:57 +05:30
parent fc0064f6a0
commit 6aa6cfd387
4 changed files with 15 additions and 138 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM denoland/deno
ARG GIT_REVISION
ENV DENO_DEPLOYMENT_ID=${GIT_REVISION}
WORKDIR /app
COPY . .
RUN deno cache main.ts --import-map=import_map.json
EXPOSE 8000
CMD ["run", "-A", "main.ts"]