no, but maaaaaybe now??
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user