Download Dockerfile from Apache777/self: direct link, hf CLI and curl.
- Browser
- Download file 400 Bytes
-
https://huggingface.co/spaces/Apache777/self/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Apache777/self/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Apache777/self/resolve/main/Dockerfile
400 Bytes
| FROM weishaw/sub2api:latest | |
| USER root | |
| RUN apk add --no-cache gcompat | |
| COPY start.sh /app/start.sh | |
| RUN chmod +x /app/start.sh | |
| USER sub2api | |
| ENV PORT=7860 \ | |
| SERVER_HOST=0.0.0.0 \ | |
| SERVER_PORT=7860 \ | |
| SERVER_MODE=release \ | |
| RUN_MODE=standard \ | |
| AUTO_SETUP=true \ | |
| TZ=Asia/Shanghai \ | |
| DATA_DIR=/tmp/sub2api \ | |
| BIN_DIR=/tmp/sub2api/bin | |
| EXPOSE 7860 | |
| ENTRYPOINT ["/app/start.sh"] | |