From 27dc6b6fb9d573933f7115b8327957e177411a24 Mon Sep 17 00:00:00 2001 From: June Date: Wed, 19 Nov 2025 21:19:07 +1300 Subject: [PATCH] no, but maaaaaybe now?? --- docker-compose.yml | 6 +++++- web/Dockerfile | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 66f178d..5d7a349 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,10 @@ services: web: - build: web + build: + context: web + args: + - PB_EMAIL=${PB_EMAIL} + - PB_PW=${PB_PW} env_file: .env ports: - "4321:4321" diff --git a/web/Dockerfile b/web/Dockerfile index fa77efe..b64afb5 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -6,6 +6,11 @@ COPY . . ENV PUBLIC_PB_URL="http://pb:8090" ENV PUBLIC_URL=http://localhost:4321 +ARG PB_EMAIL +ARG PB_PW +ENV PB_EMAIL=$PB_EMAIL +ENV PB_PW=$PB_PW + RUN npm run build EXPOSE 4321