try to use cache
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3m20s

This commit is contained in:
Pierre Geeraert
2025-06-03 10:28:43 +01:00
parent 279d59e376
commit 6a52ed2f66
+2 -2
View File
@@ -5,8 +5,8 @@ WORKDIR /code/
COPY requirements.txt ./
COPY django_code ./
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
RUN --mount=type=cache,target=/root/.cache/pip pip install --upgrade pip
RUN --mount=type=cache,target=/root/.cache/pip pip install --no-cache-dir -r requirements.txt
COPY . .
RUN python django_code/manage.py migrate