change cicada build arg
This commit is contained in:
parent
aaeccfd52f
commit
5b19d0e551
@ -13,10 +13,10 @@ RUN npm install
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
ARG BUILD_ENV="production"
|
ARG FRONTEND_ENV="production"
|
||||||
|
|
||||||
# running build script
|
# running build script
|
||||||
RUN npm run build:${BUILD_ENV}
|
RUN npm run build:${FRONTEND_ENV}
|
||||||
|
|
||||||
### STAGE 2: Setup ###
|
### STAGE 2: Setup ###
|
||||||
# defining nginx image version
|
# defining nginx image version
|
||||||
|
@ -86,7 +86,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./apps/cic-staff-client
|
context: ./apps/cic-staff-client
|
||||||
args:
|
args:
|
||||||
BUILD_ENV: prod
|
FRONTEND_ENV: prod
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
|
Loading…
Reference in New Issue
Block a user