diff --git a/deploy/docker/Dockerfile.api b/deploy/docker/Dockerfile.api index 971ec4f..c65e35d 100644 --- a/deploy/docker/Dockerfile.api +++ b/deploy/docker/Dockerfile.api @@ -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 ./ @@ -48,7 +48,7 @@ RUN pip install --no-cache-dir poetry-core RUN pip install --no-cache-dir /app # Set PYTHONPATH to ensure module can be imported -ENV PYTHONPATH=/app/src:$PYTHONPATH +ENV PYTHONPATH=/app/src # Create necessary directories RUN mkdir -p /app/logs /app/output diff --git a/deploy/docker/Dockerfile.chat b/deploy/docker/Dockerfile.chat index 0484fbd..0681a26 100644 --- a/deploy/docker/Dockerfile.chat +++ b/deploy/docker/Dockerfile.chat @@ -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 ./ diff --git a/deploy/docker/Dockerfile.worker b/deploy/docker/Dockerfile.worker index c7372de..9d23612 100644 --- a/deploy/docker/Dockerfile.worker +++ b/deploy/docker/Dockerfile.worker @@ -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 ./ @@ -49,7 +49,7 @@ RUN pip install --no-cache-dir poetry-core RUN pip install --no-cache-dir /app # Set PYTHONPATH to ensure module can be imported -ENV PYTHONPATH=/app/src:$PYTHONPATH +ENV PYTHONPATH=/app/src # Create necessary directories RUN mkdir -p /app/logs /app/output