Spaces:
Sleeping
Sleeping
Increase healthcheck start-period to 30s
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -68,7 +68,7 @@ RUN mkdir -p data/processed data/feedback logs
|
|
| 68 |
EXPOSE 7860
|
| 69 |
|
| 70 |
# Healthcheck
|
| 71 |
-
HEALTHCHECK --interval=30s --timeout=30s --start-period=
|
| 72 |
CMD curl -f http://localhost:7860/health || exit 1
|
| 73 |
|
| 74 |
# Run Command
|
|
|
|
| 68 |
EXPOSE 7860
|
| 69 |
|
| 70 |
# Healthcheck
|
| 71 |
+
HEALTHCHECK --interval=30s --timeout=30s --start-period=30s --retries=3 \
|
| 72 |
CMD curl -f http://localhost:7860/health || exit 1
|
| 73 |
|
| 74 |
# Run Command
|