Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable generatePackageJson flag in nx to optimize docker image sizes #646

Open
origranot opened this issue Dec 29, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@origranot
Copy link
Owner

Description

We're currently utilizing NX within our development workflow but not harnessing its full potential to optimize our Docker images.
This issue proposes the activation of the generatePackageJson flag in NX, a feature specifically designed to create a tailored package.json for each app. This will ensure that our Docker images contain only the necessary dependencies, significantly reducing their size and improving various aspects of deployment and runtime performance.

Screenshots

No response

Additional information

No response

@origranot origranot added enhancement New feature or request triage Needs triage and removed triage Needs triage labels Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant