Merge pull request #1536 from PeterDaveHelloKitchen/OptimizeDockerfile

Use `pip install` with `--no-cache-dir` in `Dockerfile.github_action`
This commit is contained in:
Tal 2025-02-15 11:25:41 +02:00 committed by GitHub
commit 62c47f9cb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,7 @@ FROM python:3.12 as base
WORKDIR /app WORKDIR /app
ADD pyproject.toml . ADD pyproject.toml .
ADD requirements.txt . ADD requirements.txt .
RUN pip install . && rm pyproject.toml requirements.txt RUN pip install --no-cache-dir . && rm pyproject.toml requirements.txt
ENV PYTHONPATH=/app ENV PYTHONPATH=/app
ADD docs docs ADD docs docs
ADD pr_agent pr_agent ADD pr_agent pr_agent