Adds Docker
This commit is contained in:
24
Dockerfile
24
Dockerfile
@@ -1,13 +1,13 @@
|
|||||||
FROM denoland/deno
|
FROM denoland/deno
|
||||||
|
|
||||||
ARG GIT_REVISION
|
ARG GIT_REVISION
|
||||||
ENV DENO_DEPLOYMENT_ID=${GIT_REVISION}
|
ENV DENO_DEPLOYMENT_ID=${GIT_REVISION}
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN deno cache main.ts --import-map=import_map.json
|
RUN deno cache main.ts --import-map=import_map.json
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
CMD ["run", "-A", "main.ts"]
|
CMD ["run", "-A", "main.ts"]
|
||||||
Reference in New Issue
Block a user