Spaces:
Paused
Paused
Download Dockerfile from ERROR418/getbind2api: direct link, hf CLI and curl.
- Browser
- Download file 306 Bytes
-
https://huggingface.co/spaces/ERROR418/getbind2api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ERROR418/getbind2api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ERROR418/getbind2api/resolve/main/Dockerfile
306 Bytes
| # 使用与原始镜像相同的基础镜像 | |
| FROM ghcr.io/deanxv/getbind2api | |
| # 设置工作目录 | |
| WORKDIR /app | |
| # 设置时区 | |
| ENV TZ=Asia/Shanghai | |
| # 创建数据目录 | |
| RUN mkdir -p /app/getbind2api/data | |
| # 暴露端口 | |
| EXPOSE 7860 | |
| # 启动命令 | |
| CMD ["sh", "-c", "cd /app/getbind2api && ./getbind2api"] |