|
@@ -23,9 +23,9 @@ COPY . .
|
|
|
|
|
|
|
|
RUN mkdir -p /app/data
|
|
RUN mkdir -p /app/data
|
|
|
|
|
|
|
|
-EXPOSE 8003
|
|
|
|
|
|
|
+EXPOSE 8000
|
|
|
|
|
|
|
|
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:8000/health')" || exit 1
|
|
|
|
|
|
|
|
-CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8003"]
|
|
|
|
|
|
|
+CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|