Spaces:
Sleeping
Sleeping
Commit History
-
refactor(infra): Override CMD to adapt standard GHCR image for Hugging Face
Verified signatureThis commit updates the Dockerfile to run the official GHCR image on the port required by the Hugging Face Spaces environment (7860). - **Base Image:** Continues to use the pre-built `latest` image from `ghcr.io` to ensure consistency with other environments. - **Command Override:** The `CMD` instruction is now overridden to start the `uvicorn` server on port `7860`, which is the standard for HF Spaces, instead of the internal port defined in the base image. This hybrid approach combines the reliability of a standardized build pipeline with the flexibility required for the Hugging Face runtime, ensuring fast, consistent, and correct deployments.8015296 -
refactor(infra): Simplify Dockerfile to pull from GHCR
Verified signatureThis commit drastically simplifies the deployment process by changing the Dockerfile to pull the pre-built, standardized `latest` image directly from the GitHub Container Registry (`ghcr.io`). - **Removed Build Steps:** All `apt-get`, `poetry install`, and `COPY` commands have been removed from this Dockerfile. - **Single Source of Truth:** The build process is now solely managed by the main repository's GitHub Actions CI/CD pipeline. This ensures that the Hugging Face Space is always running the exact same, tested, and validated image as all other environments. - **Improved Speed and Reliability:** Deployment on Hugging Face will now be much faster as it only needs to pull an existing image instead of building it from scratch. This aligns the Hugging Face deployment with our "build once, run anywhere" philosophy.493771a
-
Update Dockerfile
Verified signaturedbcd8f4
-
Create Dockerfile
Verified signaturedc2926c -
initial commit
Verified signaturefd678ee