bardd commited on
Commit
9f7e284
·
verified ·
1 Parent(s): d2de4d7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -27,12 +27,11 @@ RUN pip install --no-cache-dir --upgrade pip setuptools && \
27
  # Copy your application files
28
  COPY . .
29
 
30
- # Create logs directory
31
- RUN mkdir -p /app/logs
32
 
33
  # Expose the port
34
  EXPOSE 7860
35
 
36
  # Command to run your application
37
  CMD ["python", "app.py"]
38
-
 
27
  # Copy your application files
28
  COPY . .
29
 
30
+ # Create logs directory and set permissions
31
+ RUN mkdir -p /app/logs && chmod 777 /app/logs
32
 
33
  # Expose the port
34
  EXPOSE 7860
35
 
36
  # Command to run your application
37
  CMD ["python", "app.py"]