diff --git a/Dockerfile b/Dockerfile index be67e12..a8b7783 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,6 @@ RUN pnpm build EXPOSE 4173 -CMD ["pnpm", "preview", "--host"] \ No newline at end of file +ARG ORIGIN=https://projectsegfau.lt + +CMD ["node", "build/index.js"] \ No newline at end of file diff --git a/compose.yml b/compose.yml index bbac965..7e40cd0 100644 --- a/compose.yml +++ b/compose.yml @@ -22,6 +22,7 @@ services: HCAPTCHA_SECRET: ${HCAPTCHA_SECRET} HCAPTCHA_SITEKEY: ${HCAPTCHA_SITEKEY} WEBHOOK: ${WEBHOOK} + #args: [ "ORIGIN=" ] website-db-dev: image: postgres