Fix Dockerfile port to 8001 and healthcheck endpoint
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -97,8 +97,8 @@ RUN useradd -m -u 1000 scraper && \
|
||||
|
||||
USER scraper
|
||||
|
||||
# Expose ports: API (8000), VNC (5900), noVNC web (6080)
|
||||
EXPOSE 8000 5900 6080
|
||||
# Expose ports: API (8001), VNC (5900), noVNC web (6080)
|
||||
EXPOSE 8001 5900 6080
|
||||
|
||||
# Environment variables for Chromium in container
|
||||
ENV DISPLAY=:99
|
||||
@@ -107,7 +107,7 @@ ENV CHROME_PATH=/usr/bin/chromium
|
||||
|
||||
# Health check
|
||||
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)
|
||||
CMD ["/app/start.sh"]
|
||||
|
||||
Reference in New Issue
Block a user