WebashalarForML commited on
Commit
5158e8e
·
verified ·
1 Parent(s): 772fe43

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -28,6 +28,11 @@ RUN chmod -R 777 /app
28
  # Copy the rest of the application code to /app
29
  COPY . /app/
30
 
 
 
 
 
 
31
  # Expose the port the app runs on
32
  EXPOSE 7860
33
 
 
28
  # Copy the rest of the application code to /app
29
  COPY . /app/
30
 
31
+ # Ensure the upload directory and app directory have the correct permissions
32
+ RUN mkdir -p /app/uploads && \
33
+ chmod -R 777 /app/uploads && \
34
+ chmod -R 777 /app
35
+
36
  # Expose the port the app runs on
37
  EXPOSE 7860
38