fix server deploy by including the entire packages after typesync introduction#483
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a Docker deployment issue by simplifying the inclusion of workspace packages in the Docker image after the introduction of typesync. The change updates the .dockerignore file to include entire package directories rather than specifying individual files.
Key Changes
- Simplified Docker package inclusion by replacing granular file patterns with directory-level patterns
- Removed specific file inclusions for
packages/hypergraphandpackages/hypergraph-react - Added broad directory inclusions for the same packages
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| !packages/hypergraph/tsconfig.json | ||
| !packages/hypergraph/tsconfig.src.json | ||
| !packages/hypergraph/tsconfig.build.json | ||
| !packages/hypergraph |
There was a problem hiding this comment.
Including the entire package directory may introduce unnecessary files into the Docker image that could increase build size and potentially expose sensitive files. Consider explicitly including only the necessary files like package.json, src/, and tsconfig files as in the original pattern.
| !packages/hypergraph | |
| !packages/hypergraph/package.json | |
| !packages/hypergraph/tsconfig.json | |
| !packages/hypergraph/tsup.config.ts | |
| !packages/hypergraph/src |
| !packages/hypergraph-react/tsconfig.json | ||
| !packages/hypergraph-react/tsconfig.src.json | ||
| !packages/hypergraph-react/tsconfig.build.json No newline at end of file | ||
| !packages/hypergraph-react No newline at end of file |
There was a problem hiding this comment.
Including the entire package directory may introduce unnecessary files into the Docker image that could increase build size and potentially expose sensitive files. Consider explicitly including only the necessary files like package.json, src/, and tsconfig files as in the original pattern.
| !packages/hypergraph-react | |
| !packages/hypergraph-react/package.json | |
| !packages/hypergraph-react/tsconfig.json | |
| !packages/hypergraph-react/tsup.config.ts | |
| !packages/hypergraph-react/src |
No description provided.