Spaces:
Runtime error
Runtime error
Commit ·
f059514
1
Parent(s): 8d7a112
Updated Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -20,7 +20,7 @@ RUN ls -R /insucompass
|
|
| 20 |
|
| 21 |
EXPOSE 7860
|
| 22 |
|
| 23 |
-
HEALTHCHECK CMD curl --fail http://localhost:7860/
|
| 24 |
|
| 25 |
COPY --chown=user . /insucompass
|
| 26 |
CMD ["python", "-m", "uvicorn", "insucompass.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 20 |
|
| 21 |
EXPOSE 7860
|
| 22 |
|
| 23 |
+
HEALTHCHECK CMD curl --fail http://localhost:7860/health || exit 1
|
| 24 |
|
| 25 |
COPY --chown=user . /insucompass
|
| 26 |
CMD ["python", "-m", "uvicorn", "insucompass.main:app", "--host", "0.0.0.0", "--port", "7860"]
|