Anyexyz commited on
Commit
cffd73f
·
1 Parent(s): fc34823

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -6,7 +6,10 @@ FROM golang:alpine AS builder
6
  RUN apk --no-cache add git
7
 
8
  # 从 GitHub 克隆 go-proxy-bingai 项目到 /workspace/app 目录下
9
- RUN git clone https://github.com/Harry-zklcdc/go-proxy-bingai/archive/refs/tags/v1.11.5.zip /workspace/app
 
 
 
10
 
11
  # 设置工作目录为之前克隆的项目目录
12
  WORKDIR /workspace/app
 
6
  RUN apk --no-cache add git
7
 
8
  # 从 GitHub 克隆 go-proxy-bingai 项目到 /workspace/app 目录下
9
+ RUN wget -O app.zip https://github.com/Harry-zklcdc/go-proxy-bingai/archive/refs/tags/v1.11.5.zip && \
10
+ unzip app.zip && \
11
+ mv go-proxy-bingai-1.11.5 app && \
12
+ rm app.zip
13
 
14
  # 设置工作目录为之前克隆的项目目录
15
  WORKDIR /workspace/app