Spaces:
Runtime error
Runtime error
updated run command
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -4,5 +4,7 @@ FROM sada07/brand_recognition:latest
|
|
4 |
# (Optional) Expose the port if needed for Hugging Face to access it
|
5 |
EXPOSE 5000
|
6 |
|
|
|
|
|
7 |
# Start the Flask application
|
8 |
CMD ["python", "app.py"]
|
|
|
4 |
# (Optional) Expose the port if needed for Hugging Face to access it
|
5 |
EXPOSE 5000
|
6 |
|
7 |
+
RUN mkdir -p /app/logs && chmod -R 777 /app/logs
|
8 |
+
|
9 |
# Start the Flask application
|
10 |
CMD ["python", "app.py"]
|