Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -10,5 +10,8 @@ COPY requirements.txt .
|
|
10 |
RUN pip install --no-cache-dir -r requirements.txt
|
11 |
COPY . .
|
12 |
|
|
|
|
|
|
|
13 |
ENV PORT=7860
|
14 |
CMD ["python", "app.py"]
|
|
|
10 |
RUN pip install --no-cache-dir -r requirements.txt
|
11 |
COPY . .
|
12 |
|
13 |
+
# Ensure the temp directory is writable
|
14 |
+
RUN mkdir -p /app/temp && chmod -R 777 /app/temp
|
15 |
+
|
16 |
ENV PORT=7860
|
17 |
CMD ["python", "app.py"]
|