Download docker-compose.yml from zestdapoet/Pattern_detection_in_technical_drawings: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/spaces/zestdapoet/Pattern_detection_in_technical_drawings/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/zestdapoet/Pattern_detection_in_technical_drawings/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/zestdapoet/Pattern_detection_in_technical_drawings/resolve/main/docker-compose.yml
575 Bytes
| version: '3.8' | |
| services: | |
| bom-detector: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| image: bom-detector:latest | |
| container_name: bom-detector | |
| ports: | |
| - "8000:7860" | |
| environment: | |
| - KMP_DUPLICATE_LIB_OK=TRUE | |
| - PORT=7860 | |
| volumes: | |
| # Optional: mount local directories for development | |
| - ./app:/app/app | |
| - ./src:/app/src | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:7860/api/health"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 40s | |