sikeaditya commited on
Commit
98bba94
·
verified ·
1 Parent(s): 1359dc2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -11,8 +11,12 @@ RUN pip install --no-cache-dir -r requirements.txt
11
  # Copy application files after dependencies are installed
12
  COPY . .
13
 
14
- # Create temp directory for file uploads
15
- RUN mkdir -p temp
 
 
 
 
16
 
17
  EXPOSE 7860
18
 
 
11
  # Copy application files after dependencies are installed
12
  COPY . .
13
 
14
+ # Create temp directory for file uploads with proper permissions
15
+ RUN mkdir -p temp && chmod 777 temp
16
+
17
+ # Set proper file permissions
18
+ RUN chmod -R 755 /app && \
19
+ chmod -R 777 /app/temp
20
 
21
  EXPOSE 7860
22