Download Dockerfile from agagsder/sub2api: direct link, hf CLI and curl.
- Browser
- Download file 234 Bytes
-
https://huggingface.co/spaces/agagsder/sub2api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/agagsder/sub2api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/agagsder/sub2api/resolve/main/Dockerfile
234 Bytes
| FROM weishaw/sub2api:latest | |
| USER root | |
| RUN apk add --no-cache postgresql redis \ | |
| && rm -rf /app/data \ | |
| && ln -s /data/sub2api /app/data | |
| COPY start.sh /start.sh | |
| RUN chmod 0755 /start.sh | |
| EXPOSE 7860 | |
| ENTRYPOINT ["/start.sh"] | |