Skip to content

Commit

Permalink
docker file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish-egov committed Dec 17, 2024
1 parent 89c6222 commit dcc1212
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion health-services/project-factory/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ ENV NODE_OPTIONS="--max-old-space-size=2048"
COPY package.json ./

# Install dependencies
RUN yarn cache clean --force && yarn install --force
RUN yarn config set network-timeout 600000 && \
yarn config set fetch-retries 5 && \
yarn config set fetch-retry-factor 10 && \
yarn config set fetch-retry-mintime 1000 && \
yarn cache clean --force && \
yarn install --no-cache --force

# Optionally, you can add a label with the commit ID
LABEL commit_id=$COMMIT_ID
Expand Down

0 comments on commit dcc1212

Please sign in to comment.