Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -5,8 +5,7 @@ WORKDIR /code
|
|
| 5 |
|
| 6 |
# Install dependencies
|
| 7 |
COPY requirements.txt .
|
| 8 |
-
RUN pip install -
|
| 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 |
|