Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -3,6 +3,8 @@ FROM python:3.10-slim
|
|
| 3 |
WORKDIR /app
|
| 4 |
COPY . /app
|
| 5 |
|
|
|
|
|
|
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
|
| 8 |
EXPOSE 7860
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
COPY . /app
|
| 5 |
|
| 6 |
+
RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
|
| 7 |
+
|
| 8 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 9 |
|
| 10 |
EXPOSE 7860
|