optimise by running a pip upgrade
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3m56s

This commit is contained in:
2024-10-30 11:11:11 +00:00
parent 82ed5d12e1
commit fa365f956e
+1
View File
@@ -5,6 +5,7 @@ WORKDIR /code/
COPY requirements.txt ./ COPY requirements.txt ./
COPY django_code ./ COPY django_code ./
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
COPY . . COPY . .
RUN python django_code/manage.py migrate RUN python django_code/manage.py migrate