Skip to content

Commit

Permalink
Adding npm install retry for network failures
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahanaFarooqui committed May 20, 2024
1 parent 181ec4e commit 5056b50
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ COPY package.json ./
COPY package-lock.json ./

# Install dependencies
RUN npm install
RUN npm install || npm install || npm install

# Build assets
RUN npm run build
Expand Down
1 change: 1 addition & 0 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"react-scripts": "^5.0.1"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.1",
Expand Down
20 changes: 20 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5056b50

Please sign in to comment.