Skip to content

Commit b6b22e1

Browse files
committed
Fixing Build issue
1 parent 958dd9a commit b6b22e1

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.circleci/config.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,15 @@ builddeploy_steps: &builddeploy_steps
4242
aws codeartifact login --tool npm --repository topcoder-framework --domain topcoder --domain-owner $AWS_ACCOUNT_ID --region $AWS_REGION --namespace @topcoder-framework
4343
cp ~/.npmrc .
4444
rm -f awsenvconf
45-
./build.sh ${APPNAME}
45+
- run:
46+
name: "Build docker image"
47+
command: |
48+
./awsconfiguration.sh ${DEPLOY_ENV}
49+
source awsenvconf
50+
./psvar-processor.sh -t appenv -p /config/${APPNAME}/buildvar
51+
source buildvar_env
52+
rm -f awsenvconf
53+
./build.sh ${APPNAME}
4654
- save_cache: *save_cache_settings
4755
- deploy:
4856
name: Running MasterScript.

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ COPY . /challenge-api
99
WORKDIR /challenge-api
1010

1111
# Install the dependencies from package.json
12-
RUN yarn install
12+
RUN --mount=type=ssh yarn install
1313

1414
CMD node /challenge-api/app.js

docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ services:
66
context: ../
77
dockerfile: docker/Dockerfile
88
ssh:
9-
- default=${SSH_AUTH_SOCK}
9+
- default=${SSH_FILE_PATH}

0 commit comments

Comments
 (0)