Spaces:
Paused
Paused
Download Dockerfile from StarrySkyWorld/Ding: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/StarrySkyWorld/Ding/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/StarrySkyWorld/Ding/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/StarrySkyWorld/Ding/resolve/main/Dockerfile
318 Bytes
| # 使用 Deno 官方镜像 | |
| FROM denoland/deno:1.37.0 | |
| # 暴露 Hugging Face 要求的 7860 端口 | |
| EXPOSE 7860 | |
| RUN mkdir -p /app | |
| COPY entrypoint.sh /app/ | |
| # 设置工作目录 | |
| WORKDIR /app | |
| RUN chmod +x /app/entrypoint.sh | |
| RUN apt-get update -y | |
| RUN apt-get install wget curl git unzip -y | |
| CMD ["/app/entrypoint.sh"] | |