Skip to content

Dockerfile: simplify builder stage (remove unused curl/gpg, drop unnecessary poetry install)#146

Merged
ratoaq2 merged 1 commit into
ratoaq2:mainfrom
pierow2k:chore/dockerfile-builder-slim
Feb 7, 2026
Merged

Dockerfile: simplify builder stage (remove unused curl/gpg, drop unnecessary poetry install)#146
ratoaq2 merged 1 commit into
ratoaq2:mainfrom
pierow2k:chore/dockerfile-builder-slim

Conversation

@pierow2k

Copy link
Copy Markdown

Fixes #145

Summary

This PR simplifies the Dockerfile builder stage to reduce build time and image layer size without changing the produced artifacts.

Changes

  • Remove unused curl and gpg packages from the builder stage (which are only required in the final stage).
  • Remove the poetry install --only main step in the builder stage, since the stage only runs poetry build and does not run tests or execute the project.

Rationale

These steps do not contribute to the build output (/app/dist), but they add extra package installs and dependency resolution during the image build.

@ratoaq2 ratoaq2 merged commit 848bc36 into ratoaq2:main Feb 7, 2026
3 checks passed
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.

Dockerfile: Remove unused builder-stage packages and unnecessary poetry install step

2 participants