Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -10,7 +10,9 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
| 10 |
WORKDIR /app
|
| 11 |
|
| 12 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 13 |
-
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
|
|
|
| 14 |
|
| 15 |
COPY --chown=user . /app
|
| 16 |
CMD ["python", "app.py"]
|
|
|
|
| 10 |
WORKDIR /app
|
| 11 |
|
| 12 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 13 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt&&docker builder prune&&
|
| 14 |
+
|
| 15 |
+
|
| 16 |
|
| 17 |
COPY --chown=user . /app
|
| 18 |
CMD ["python", "app.py"]
|