no, but maaaaaybe now??

This commit is contained in:
2025-11-19 21:19:07 +13:00
parent cb86dec266
commit 27dc6b6fb9
2 changed files with 10 additions and 1 deletions

View File

@@ -1,6 +1,10 @@
services: services:
web: web:
build: web build:
context: web
args:
- PB_EMAIL=${PB_EMAIL}
- PB_PW=${PB_PW}
env_file: .env env_file: .env
ports: ports:
- "4321:4321" - "4321:4321"

View File

@@ -6,6 +6,11 @@ COPY . .
ENV PUBLIC_PB_URL="http://pb:8090" ENV PUBLIC_PB_URL="http://pb:8090"
ENV PUBLIC_URL=http://localhost:4321 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 RUN npm run build
EXPOSE 4321 EXPOSE 4321