justinhackers29 commited on
Commit
5faba41
1 Parent(s): 4f12bba

add RUN pip install --upgrade pip

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -3,10 +3,13 @@ FROM python:3.9
3
 
4
  # Set the working directory to /code
5
  WORKDIR /code
 
 
 
6
 
7
  # Copy the current directory contents into the container at /code
8
  COPY ./requirements.txt /code/requirements.txt
9
-
10
  # Install requirements.txt
11
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
 
 
3
 
4
  # Set the working directory to /code
5
  WORKDIR /code
6
+
7
+ # upgrade pip
8
+ RUN pip install --upgrade pip
9
 
10
  # Copy the current directory contents into the container at /code
11
  COPY ./requirements.txt /code/requirements.txt
12
+
13
  # Install requirements.txt
14
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
15