Skip to content

Build production image excluding devDependencies #145

@robertocarlous

Description

@robertocarlous

Body:

Dev-only packages bloat production images and may introduce vulnerabilities. Update the Dockerfile to use multi-stage builds or npm ci --production so devDependencies are not present in the final runtime image.

Acceptance Criteria:

  • Dockerfile uses multi-stage build or otherwise excludes devDependencies.
  • Final image size is reduced compared to the previous baseline.
  • Build pipeline runs and produces an image that starts and serves the /health endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions