zahraa12355 commited on
Commit
0fadb67
·
verified ·
1 Parent(s): 15e6779

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -5,8 +5,7 @@ WORKDIR /code
5
 
6
  # Install dependencies
7
  COPY requirements.txt .
8
- RUN pip install --no-cache-dir -r requirements.txt
9
-
10
  # Copy app
11
  COPY app.py .
12
 
 
5
 
6
  # Install dependencies
7
  COPY requirements.txt .
8
+ RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
 
9
  # Copy app
10
  COPY app.py .
11