Download Dockerfile from fkhf/fbox: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/fkhf/fbox/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/fkhf/fbox/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/fkhf/fbox/resolve/main/Dockerfile
361 Bytes
| FROM lanol/filecodebox:latest | |
| USER root | |
| RUN mkdir -p /app/data && \ | |
| chown -R 1000:1000 /app | |
| USER 1000 | |
| ENV HOST=0.0.0.0 \ | |
| PORT=7860 \ | |
| WORKERS=1 \ | |
| LOG_LEVEL=info | |
| EXPOSE 7860 | |
| CMD ["sh", "-c", "exec uvicorn main:app --host \"$HOST\" --port \"$PORT\" --workers \"$WORKERS\" --log-level \"$LOG_LEVEL\" --proxy-headers --forwarded-allow-ips '*'"] |