Update Docker healthcheck
All checks were successful
Test and build Docker image / docker (push) Successful in 1m31s

This commit is contained in:
2025-05-04 05:28:37 +02:00
parent d8247fec01
commit c3a11f55b0
3 changed files with 7 additions and 2 deletions

View File

@ -12,4 +12,5 @@ RUN --mount=type=cache,target=/root/.cache/uv \
COPY --chown=botuser:botuser discord_rss_bot/ /home/botuser/discord-rss-bot/discord_rss_bot/
EXPOSE 5000
VOLUME ["/home/botuser/.local/share/discord_rss_bot/"]
HEALTHCHECK --interval=10m --timeout=5s CMD ["uv", "run", "./discord_rss_bot/healthcheck.py"]
CMD ["uv", "run", "uvicorn", "discord_rss_bot.main:app", "--host=0.0.0.0", "--port=5000", "--proxy-headers", "--forwarded-allow-ips='*'", "--log-level", "debug"]