Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -39,7 +39,7 @@ EXPOSE 7860
|
|
| 39 |
|
| 40 |
# Health check
|
| 41 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
| 42 |
-
CMD curl -f http://localhost:
|
| 43 |
|
| 44 |
# Run the application
|
| 45 |
CMD ["python", "main.py"]
|
|
|
|
| 39 |
|
| 40 |
# Health check
|
| 41 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
| 42 |
+
CMD curl -f http://localhost:7860/ || exit 1
|
| 43 |
|
| 44 |
# Run the application
|
| 45 |
CMD ["python", "main.py"]
|