Skip to content

fix: ignore nested node_modules in Docker context - #2364

Open
samsamtrum wants to merge 1 commit into
namada-net:mainfrom
samsamtrum:fix-dockerignore-node-modules
Open

fix: ignore nested node_modules in Docker context#2364
samsamtrum wants to merge 1 commit into
namada-net:mainfrom
samsamtrum:fix-dockerignore-node-modules

Conversation

@samsamtrum

Copy link
Copy Markdown

Summary

  • update .dockerignore to ignore node_modules directories at any depth
  • keep the existing .git and .gitignore exclusions unchanged

Why

Docker .dockerignore patterns are not identical to .gitignore patterns. The previous node_modules entry only matched the top-level directory, so nested workspace dependencies could still be included in the build context.

Testing

  • git diff --check

Closes #2301

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.

Possible .dockerignore misconfiguration

1 participant