|
@@ -28,4 +28,4 @@ EXPOSE 8003
|
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
|
|
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8003/health')" || exit 1
|
|
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8003/health')" || exit 1
|
|
|
|
|
|
|
|
-CMD ["python", "main.py"]
|
|
|
|
|
|
|
+CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8003"]
|