Browse Source

build(container): add deno cache step to docker container

master
vnugent 8 months ago
parent
commit
293f0cf651
No known key found for this signature in database
GPG Key ID: C282EAC569C07C91
  1. 2
      Dockerfile

2
Dockerfile

@ -11,5 +11,7 @@ COPY --from=build /app/src/import_map.json . @@ -11,5 +11,7 @@ COPY --from=build /app/src/import_map.json .
ENV ORIGIN=http://localhost:3000
RUN deno cache --import-map=import_map.json ./build/index.js
EXPOSE 3000
CMD [ "deno", "run", "--allow-env", "--allow-read", "--allow-net", "--import-map=import_map.json", "./build/index.js" ]

Loading…
Cancel
Save