diff --git a/Dockerfile b/Dockerfile index 8e06b9d..bad4492 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,10 +11,9 @@ WORKDIR /app COPY pyproject.toml poetry.lock* ./ COPY src/ ./src/ -# Export dependencies and install them, then install the project +# Export dependencies and install them RUN poetry export -f requirements.txt --output requirements.txt --without-hashes && \ - pip install --no-cache-dir --prefix="/install" -r requirements.txt && \ - poetry install --no-dev + pip install --no-cache-dir --prefix="/install" -r requirements.txt # Stage 2: Runtime