Spaces:
Paused
Paused
Update Dockerfile
Browse files5 unmodified lines6789101112131 unmodified line1516171819205 unmodified linesCGO_ENABLED=0 \GOOS=linux# 设置工作目录WORKDIR /build# 安装 gitRUN apk add --no-cache git1 unmodified line# 克隆项目仓库RUN git clone https://github.com/deanxv/genspark2api.git .# 复制 go.mod 和 go.sum 文件,先下载依赖COPY go.mod go.sum ./#ENV GOPROXY=https://goproxy.cn,direct5 unmodified lines678910111 unmodified line131415161718192021225 unmodified linesCGO_ENABLED=0 \GOOS=linux# 安装 gitRUN apk add --no-cache git1 unmodified line# 克隆项目仓库RUN git clone https://github.com/deanxv/genspark2api.git .# 设置工作目录WORKDIR /build# 复制 go.mod 和 go.sum 文件,先下载依赖COPY go.mod go.sum ./#ENV GOPROXY=https://goproxy.cn,direct
Dockerfile+4-2