Fix Dockerfile port to 8001 and healthcheck endpoint

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-02-02 21:25:24 +00:00
parent e54a7eeaa9
commit 13bc513dea

View File

@@ -97,8 +97,8 @@ RUN useradd -m -u 1000 scraper && \
USER scraper USER scraper
# Expose ports: API (8000), VNC (5900), noVNC web (6080) # Expose ports: API (8001), VNC (5900), noVNC web (6080)
EXPOSE 8000 5900 6080 EXPOSE 8001 5900 6080
# Environment variables for Chromium in container # Environment variables for Chromium in container
ENV DISPLAY=:99 ENV DISPLAY=:99
@@ -107,7 +107,7 @@ ENV CHROME_PATH=/usr/bin/chromium
# Health check # Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \ HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
CMD curl -f http://localhost:8000/health/live || exit 1 CMD curl -f http://localhost:8001/ || exit 1
# Run startup script (starts Xvfb + API server) # Run startup script (starts Xvfb + API server)
CMD ["/app/start.sh"] CMD ["/app/start.sh"]