sikeaditya commited on
Commit
d0e4650
·
verified ·
1 Parent(s): 7154df8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -8
Dockerfile CHANGED
@@ -1,9 +1,12 @@
1
- FROM python:3.9-slim
2
-
3
- WORKDIR /app
4
-
5
- COPY . .
6
-
7
- RUN pip install --no-cache-dir -r requirements.txt
8
-
 
 
 
9
  CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]
 
1
+ FROM python:3.9-slim
2
+
3
+ WORKDIR /app
4
+
5
+ COPY . .
6
+
7
+ # Create uploads directory with proper permissions
8
+ RUN mkdir -p static/uploads && chmod 777 static/uploads
9
+
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
  CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]