optimise by running a pip upgrade
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3m56s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3m56s
This commit is contained in:
@@ -5,6 +5,7 @@ WORKDIR /code/
|
||||
COPY requirements.txt ./
|
||||
COPY django_code ./
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY . .
|
||||
RUN python django_code/manage.py migrate
|
||||
|
||||
Reference in New Issue
Block a user