Spaces:
Sleeping
Sleeping
|
Download docs/deployment.md from Scikitlearn10801/test_env: direct link, hf CLI and curl.
- Browser
- Download file 697 Bytes
-
https://huggingface.co/spaces/Scikitlearn10801/test_env/resolve/main/docs/deployment.md
- Command line
-
hf download hf://spaces/Scikitlearn10801/test_env/docs/deployment.md
-
curl -L -o deployment.md https://huggingface.co/spaces/Scikitlearn10801/test_env/resolve/main/docs/deployment.md
697 Bytes
| # ๐ Deployment Architecture | |
| The environment is containerized and ready for cloud-scale deployment. | |
| ## ๐๏ธ Stack | |
| - **Runtime**: Python 3.10-slim. | |
| - **Framework**: FastAPI + Uvicorn. | |
| - **Containerization**: Docker. | |
| - **Hosting**: Hugging Face Spaces (Docker SDK). | |
| ## ๐ณ Docker Configuration | |
| The environment is exposed on port `7860`. The build uses a multi-stage-like approach to keep the image size under 500MB, ensuring fast cold-starts on serverless platforms. | |
| ## ๐ก๏ธ Security | |
| The environment uses a **read-only** mock database that resets every episode. No actual PII is ever stored; all data is programmatically generated in-memory, making it safe for open-source AI research. | |