broadfield-dev commited on
Commit
4b7ec42
·
verified ·
1 Parent(s): cccaf8c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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"]