Download Dockerfile from CXYHB/newbing: direct link, hf CLI and curl.
- Browser
- Download file 333 Bytes
-
https://huggingface.co/spaces/CXYHB/newbing/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/CXYHB/newbing/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/CXYHB/newbing/resolve/main/Dockerfile
333 Bytes
| # Build Stage | |
| # 使用 golang:alpine 作为构建阶段的基础镜像 | |
| FROM golang:alpine AS builder | |
| # 添加 git,以便之后能从GitHub克隆项目 | |
| RUN apk --no-cache add git | |
| # 从 GitHub 克隆 go-proxy-bingai 项目到 /workspace/app 目录下 | |
| RUN git clone https://github.com/Harry-zklcdc/go-proxy-bingai.git /workspace/app |