Skip to content

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

Open
@origranot

Description

@origranot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions