Skip to content

fix: Improve network reliability for Docker builds - #21

Merged
thesurenk merged 1 commit into
mainfrom
dockerfile-updates
Oct 1, 2025
Merged

fix: Improve network reliability for Docker builds#21
thesurenk merged 1 commit into
mainfrom
dockerfile-updates

Conversation

@thesurenk

Copy link
Copy Markdown
Collaborator
  • Switch from yarn to npm for better Docker reliability
  • Add npm network timeout and retry configurations
  • Set fetch-retry-mintimeout: 20000ms
  • Set fetch-retry-maxtimeout: 120000ms
  • Set fetch-retries: 5 attempts
  • Update Maven exec plugin to use npm instead of yarn
  • Use npx for Angular CLI execution
  • Add package-lock.json and yarn.lock to .dockerignore
  • Resolves ESOCKETTIMEDOUT network issues during build

- Switch from yarn to npm for better Docker reliability
- Add npm network timeout and retry configurations
- Set fetch-retry-mintimeout: 20000ms
- Set fetch-retry-maxtimeout: 120000ms
- Set fetch-retries: 5 attempts
- Update Maven exec plugin to use npm instead of yarn
- Use npx for Angular CLI execution
- Add package-lock.json and yarn.lock to .dockerignore
- Resolves ESOCKETTIMEDOUT network issues during build
@thesurenk
thesurenk merged commit 3be6fb4 into main Oct 1, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant