fix: add poetry-plugin-export and fix PYTHONPATH in Dockerfiles
Some checks failed
Build / Code Quality Checks (push) Successful in 6m22s
Build / Build & Push Docker Images (chat) (push) Failing after 35s
Build / Build & Push Docker Images (frontend) (push) Successful in 39s
Build / Build & Push Docker Images (worker) (push) Failing after 55s
Build / Build & Push Docker Images (api) (push) Failing after 1m0s
Some checks failed
Build / Code Quality Checks (push) Successful in 6m22s
Build / Build & Push Docker Images (chat) (push) Failing after 35s
Build / Build & Push Docker Images (frontend) (push) Successful in 39s
Build / Build & Push Docker Images (worker) (push) Failing after 55s
Build / Build & Push Docker Images (api) (push) Failing after 1m0s
- Install poetry-plugin-export alongside Poetry 1.8.0 in all Python service Dockerfiles (api, chat, worker) - Fix PYTHONPATH environment variable to avoid undefined variable warnings - Resolves Docker build pipeline failure where poetry export command was not available 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -3,8 +3,8 @@ FROM python:3.12-slim AS builder
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
# Install Poetry
|
||||
RUN pip install --no-cache-dir poetry==1.8.0
|
||||
# Install Poetry and export plugin
|
||||
RUN pip install --no-cache-dir poetry==1.8.0 poetry-plugin-export
|
||||
|
||||
# Copy dependency files
|
||||
COPY pyproject.toml poetry.lock ./
|
||||
|
||||
Reference in New Issue
Block a user