Update Dockerfile-rag

This commit is contained in:
Daewoong Jeon 2025-10-30 10:15:39 +09:00 committed by GitHub
parent e93f8d03f9
commit d7f90705d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,11 +49,11 @@ ENV PATH="/opt/venv/bin:$PATH"
USER ${USERNAME} USER ${USERNAME}
# Expose port # Expose port
EXPOSE 8088 EXPOSE 8080
# Health check # Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \ HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
CMD python -c "import requests; requests.get('http://localhost:8088/health')" || exit 1 CMD python -c "import requests; requests.get('http://localhost:8080/health')" || exit 1
# Run the application # Run the application
CMD ["uvicorn", "src.api.main:app", "--host", "0.0.0.0", "--port", "8088"] CMD ["uvicorn", "src.api.main:app", "--host", "0.0.0.0", "--port", "8080"]