Browse Source

Use `HOST` on prod container

master
buttercat1791 1 year ago
parent
commit
12e7968f1b
  1. 2
      Dockerfile.prod

2
Dockerfile.prod

@ -9,7 +9,7 @@ WORKDIR /app @@ -9,7 +9,7 @@ WORKDIR /app
COPY --from=build /app/src/build/ ./build/
COPY --from=build /app/src/import_map.json .
ENV ORIGIN=hhttps://$HOST
ENV ORIGIN=https://$HOST
EXPOSE 3000
CMD [ "deno", "run", "--allow-env", "--allow-read", "--allow-net", "--import-map=import_map.json", "./build/index.js" ]

Loading…
Cancel
Save