Upload Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -29,7 +29,7 @@ USER user
|
|
| 29 |
EXPOSE 7860
|
| 30 |
|
| 31 |
# Health check
|
| 32 |
-
HEALTHCHECK --interval=30s --timeout=30s --start-period=
|
| 33 |
CMD curl -f http://localhost:7860/health || exit 1
|
| 34 |
|
| 35 |
# Start with Gunicorn
|
|
|
|
| 29 |
EXPOSE 7860
|
| 30 |
|
| 31 |
# Health check
|
| 32 |
+
HEALTHCHECK --interval=30s --timeout=30s --start-period=120s --retries=3 \
|
| 33 |
CMD curl -f http://localhost:7860/health || exit 1
|
| 34 |
|
| 35 |
# Start with Gunicorn
|