This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,16 @@ builddeploy_steps: &builddeploy_steps
2929 - run : *install_dependency
3030 - run : *install_deploysuite
3131 - restore_cache : *restore_cache_settings_for_build
32- - run : ./build.sh ${APPNAME}
33- - save_cache : *save_cache_settings
32+ - run :
33+ command : |
34+ ./awsconfiguration.sh $DEPLOY_ENV
35+ source awsenvconf
36+ ./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-buildvar
37+ - run :
38+ command : |
39+ source buildenvvar
40+ ./build.sh ${APPNAME}
41+ # - save_cache: *save_cache_settings
3442 - deploy :
3543 name : Running MasterScript.
3644 command : |
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ set -eo pipefail
33APP_NAME=$1
44UPDATE_CACHE=" "
55
6- docker build -f docker/Dockerfile -t $APP_NAME :latest .
6+ docker build -f docker/Dockerfile -t $APP_NAME :latest \
7+ --build-arg APPMODE=$APPMODE \
8+ --build-arg APPENV=$APPENV .
79
810docker create --name app $APP_NAME :latest
911
Original file line number Diff line number Diff line change 11# Use the base image with Node.js
22FROM node:latest
33
4+ ARG APPMODE
5+ ARG APPENV
6+
7+ ENV APPMODE=$APPMODE
8+ ENV APPENV=$APPENV
9+
410# Copy the current directory into the Docker image
511COPY . /micro-frontends-earn-app
612
You can’t perform that action at this time.
0 commit comments