Archived
Made pip upgrade before copying requirements.txt in Dockerfile
This commit is contained in:
1 parent
fd002e3718
commit
e49f2e00eb
1 file changed
+1
-1
+1
-1
@@ -15,8 +15,8 @@ RUN adduser -u 1000 --disabled-password --gecos "" appuser && chown -R appuser /
|
||||
RUN apt update && apt full-upgrade -y
|
||||
|
||||
# Install pip requirements
|
||||
COPY requirements.txt .
|
||||
RUN pip install -U pip setuptools wheel
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY . /app
|
||||
|
||||
Reference in new issue
Block a user