devlim commited on
Commit
60773d3
1 Parent(s): c61f02f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -16,5 +16,8 @@ EXPOSE 7860
16
  # Define environment variable
17
  ENV NAME Supernova
18
 
 
 
 
19
  # Run app.py when the container launches
20
  CMD ["python", "app.py"]
 
16
  # Define environment variable
17
  ENV NAME Supernova
18
 
19
+ # Create uploads directory and set permissions
20
+ RUN mkdir -p /app/uploads && chmod -R 777 /app/uploads
21
+
22
  # Run app.py when the container launches
23
  CMD ["python", "app.py"]