Spaces:
Build error
Build error
Download Dockerfile from dalabsai/da-admin-service-dev: direct link, hf CLI and curl.
- Browser
- Download file 543 Bytes
-
https://huggingface.co/spaces/dalabsai/da-admin-service-dev/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dalabsai/da-admin-service-dev/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dalabsai/da-admin-service-dev/resolve/main/Dockerfile
543 Bytes
| # Dockerfile for da-admin-service using pre-built container image | |
| # This Dockerfile pulls a pre-built image from the container registry | |
| FROM docker.io/ahadoop/da-admin-service:dev | |
| # HF Spaces requires running as user with UID 1000 | |
| USER 1000 | |
| # Expose the service port (HF Spaces will map this to the configured app_port) | |
| EXPOSE 8080 | |
| # Health check | |
| HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \ | |
| CMD curl -f http://localhost:8080/actuator/health || exit 1 | |
| # The CMD/ENTRYPOINT is inherited from the base image | |