From 19f34768da6c61a14b6db305d8a0f6cb352f8c00 Mon Sep 17 00:00:00 2001 From: Akis Date: Fri, 6 Jan 2023 10:16:32 +0200 Subject: [PATCH] changes to dockerfile --- Dockerfile | 4 +++- compose.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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