Skip to content

Modified build process to use a built wheel instead of poetry#45

Open
banginji wants to merge 1 commit intomainfrom
nl
Open

Modified build process to use a built wheel instead of poetry#45
banginji wants to merge 1 commit intomainfrom
nl

Conversation

@banginji
Copy link
Collaborator

@banginji banginji commented Feb 26, 2026

The Docker image is built as a multi-stage build:

  • Build stage uses Poetry plus poetry-plugin-export to:
    • export runtime dependencies from poetry.lock to requirements.txt
    • build a wheel for this project
  • Runtime stage installs using pip from:
    • exported requirements.txt
    • built wheel

This keeps Poetry out of the runtime/install path while retaining lockfile-pinned dependency resolution.

This fixes #40

Signed-off-by: banginji <ban.ginji@gmail.com>
@banginji banginji requested a review from colindean February 26, 2026 01:48
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.

Install diff-poetry-lock as a package

1 participant