Use pip install with --no-cache-dir in Dockerfile.github_action

This commit is contained in:
Peter Dave Hello
2025-02-15 00:17:02 +08:00
parent 605a4b99ad
commit 130b1ff4fb

View File

@ -3,7 +3,7 @@ FROM python:3.12 as base
WORKDIR /app
ADD pyproject.toml .
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
ADD docs docs
ADD pr_agent pr_agent