From dcc121283c5b28641e08caa19f52829a7872bec3 Mon Sep 17 00:00:00 2001 From: ashish-egov Date: Tue, 17 Dec 2024 16:20:39 +0530 Subject: [PATCH] docker file changes --- health-services/project-factory/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/health-services/project-factory/Dockerfile b/health-services/project-factory/Dockerfile index 45a806677b..f6ab859985 100644 --- a/health-services/project-factory/Dockerfile +++ b/health-services/project-factory/Dockerfile @@ -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