Spaces:
Sleeping
Sleeping
Download Dockerfile from YOGESHJIO5770/KDP-FACTORY: direct link, hf CLI and curl.
- Browser
- Download file 234 Bytes
-
https://huggingface.co/spaces/YOGESHJIO5770/KDP-FACTORY/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/YOGESHJIO5770/KDP-FACTORY/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/YOGESHJIO5770/KDP-FACTORY/resolve/main/Dockerfile
234 Bytes
| FROM nginx:alpine | |
| COPY . /usr/share/nginx/html | |
| # Hugging Face Spaces require containers to listen on port 7860 | |
| RUN sed -i 's/listen\(.*\)80;/listen 7860;/' /etc/nginx/conf.d/default.conf | |
| EXPOSE 7860 | |
| CMD ["nginx", "-g", "daemon off;"] | |