Skip to content

fix: Remove old lock files to prevent npm build hanging#29

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

fix: Remove old lock files to prevent npm build hanging#29
thesurenk merged 1 commit into
mainfrom
dockerfile-updates

Conversation

@thesurenk

Copy link
Copy Markdown
Collaborator
  • Add explicit removal of package-lock.json and yarn.lock in Dockerfile
  • Update .dockerignore to exclude lock files from build context
  • Prevents 'old lockfile' warnings that cause npm to hang
  • Forces npm to create fresh lock file with current version
  • Resolves build hanging during dependency resolution

- Add explicit removal of package-lock.json and yarn.lock in Dockerfile
- Update .dockerignore to exclude lock files from build context
- Prevents 'old lockfile' warnings that cause npm to hang
- Forces npm to create fresh lock file with current version
- Resolves build hanging during dependency resolution
@thesurenk thesurenk merged commit ce5c7bb into main Oct 1, 2025
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