Skip to content

Conversation

@sirdavos47
Copy link

This change adds the --no-dev flag to the poetry install command in the Dockerfile builder stage to prevent development dependencies from being installed in the production image. This reduces image size and speeds up build time. No functional behavior is changed for production runs. Verify by rebuilding the image and confirming dev dependencies are not present in the resulting .venv.

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.

1 participant