File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,20 @@ builddeploy_steps: &builddeploy_steps
2828 - setup_remote_docker
2929 - run : *install_dependency
3030 - run : *install_deploysuite
31- - run : ./build.sh ${APPNAME}
31+ - run :
32+ name : " configuring environment"
33+ command : |
34+ ./awsconfiguration.sh $DEPLOY_ENV
35+ ./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-buildvar
36+ - run :
37+ name : " building image"
38+ command : |
39+ source buildenvvar
40+ ./build.sh ${APPNAME}
3241 - deploy :
3342 name : Running MasterScript.
3443 command : |
35- ./awsconfiguration.sh $DEPLOY_ENV
44+ # ./awsconfiguration.sh $DEPLOY_ENV
3645 source awsenvconf
3746 ./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-deployvar
3847 source buildenvvar
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ APP_NAME=$1
44UPDATE_CACHE=" "
55echo " NODE ENV: $NODE_ENV "
66echo " BABEL ENV: $BABEL_ENV "
7- docker-compose -f docker/docker-compose.yml build --build-arg NODE_ENV=$NODE_ENV --build-arg BABEL_ENV=$BABEL_ENV $APP_NAME
7+ docker-compose -f docker/docker-compose.yml build --build-arg NODE_ENV=$NODE_ENV --build-arg BABEL_ENV=$BABEL_ENV --build-arg FILE_PICKER_API_KEY= $FILE_PICKER_API_KEY --build-arg FORCE_DEV= $FORCE_DEV $APP_NAME
88docker create --name app $APP_NAME :latest
99
1010if [ -d node_modules ]
Original file line number Diff line number Diff line change @@ -3,8 +3,13 @@ FROM node:latest
33ARG NODE_ENV
44ARG BABEL_ENV
55
6+ ARG FILE_PICKER_API_KEY
7+ ARG FORCE_DEV
8+
69ENV NODE_ENV=$NODE_ENV
710ENV BABEL_ENV=$BABEL_ENV
11+ ENV FILE_PICKER_API_KEY=$FILE_PICKER_API_KEY
12+ ENV FORCE_DEV=$FORCE_DEV
813
914# Copy the current directory into the Docker image
1015COPY . /challenge-engine-ui
You can’t perform that action at this time.
0 commit comments