Commit
·
2a97f95
1
Parent(s):
bed8371
update healthcheck
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -13,6 +13,6 @@ RUN pip install --user -r requirements.txt
|
|
13 |
|
14 |
COPY --chown=user . .
|
15 |
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
|
16 |
-
CMD curl --fail http://localhost:
|
17 |
|
18 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
13 |
|
14 |
COPY --chown=user . .
|
15 |
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
|
16 |
+
CMD curl --fail http://localhost:7860/test || exit 1
|
17 |
|
18 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|