Update Dockerfile.prod
Browse files- Dockerfile.prod +1 -1
Dockerfile.prod
CHANGED
|
@@ -56,7 +56,7 @@ EXPOSE 7860
|
|
| 56 |
|
| 57 |
# Health check
|
| 58 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
| 59 |
-
CMD curl -f http://localhost:
|
| 60 |
|
| 61 |
# Run application
|
| 62 |
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 56 |
|
| 57 |
# Health check
|
| 58 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
|
| 59 |
+
CMD curl -f http://localhost:7860/health || exit 1
|
| 60 |
|
| 61 |
# Run application
|
| 62 |
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "7860"]
|