Updates docker healthcheck
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -43,7 +43,7 @@ COPY --chown=user . .
|
|
43 |
# Expose the port the app runs on (from nginx)
|
44 |
EXPOSE 7860
|
45 |
|
46 |
-
HEALTHCHECK --interval=
|
47 |
CMD ["sh", "/app/healthcheck.sh"]
|
48 |
|
49 |
# Use exec form to call the script
|
|
|
43 |
# Expose the port the app runs on (from nginx)
|
44 |
EXPOSE 7860
|
45 |
|
46 |
+
HEALTHCHECK --interval=10s --timeout=5s --start-period=5s --retries=3 \
|
47 |
CMD ["sh", "/app/healthcheck.sh"]
|
48 |
|
49 |
# Use exec form to call the script
|