Update Dockerfile healthcheck URL

This commit is contained in:
vvzvlad
2025-03-26 15:06:05 +03:00
parent a45678a852
commit ca44525289
+1 -1
View File
@@ -7,6 +7,6 @@ RUN apt-get update && apt-get install -y libmagic-dev curl --no-install-recommen
RUN pip install --no-cache-dir -r requirements.txt
COPY *.py .
HEALTHCHECK --interval=10m --timeout=5s --retries=4 --start-interval=2s --start-period=10s CMD curl -f http://localhost:3000/rss/vvzvlad_lytdybr/localhost?limit=1 || exit 1
HEALTHCHECK --interval=10m --timeout=5s --retries=4 --start-interval=2s --start-period=10s CMD curl -f http://localhost/rss/vvzvlad_lytdybr/localhost?limit=1 || exit 1
CMD ["python", "api_server.py"]