diff --git a/Containerfile b/Containerfile index 58b54ef..8a6b2f1 100644 --- a/Containerfile +++ b/Containerfile @@ -7,8 +7,8 @@ WORKDIR /app COPY pyproject.toml poetry.lock* ./ RUN pip install --no-cache-dir poetry poetry-plugin-export \ - && poetry export --without dev,docs -f requirements.txt -o requirements.txt \ - && pip install --no-cache-dir -r requirements.txt + && poetry export --without dev,docs -f requirements.txt -o /tmp/requirements.txt \ + && pip install --no-cache-dir -r /tmp/requirements.txt # Stage 2: Create the final runtime image. # Starts from a clean base and copies only the installed packages