Do0rMaMu commited on
Commit
70bd2d5
·
verified ·
1 Parent(s): b627148

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -7,8 +7,9 @@ WORKDIR /code
7
  # Copy the current directory contents into the container at /usr/src/app
8
  COPY . .
9
 
10
- # Install any needed packages specified in requirements.txt
11
- RUN pip install -r requirements.txt
 
12
 
13
  # Make port 8000 available to the world outside this container
14
  EXPOSE 8000
 
7
  # Copy the current directory contents into the container at /usr/src/app
8
  COPY . .
9
 
10
+ COPY ./requirements.txt /code/requirements.txt
11
+
12
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
13
 
14
  # Make port 8000 available to the world outside this container
15
  EXPOSE 8000