randomshit11 commited on
Commit
1940ecf
·
verified ·
1 Parent(s): 6f10e65

Update Dockerfile

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