Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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"]
|