dongsiqie commited on
Commit
aae5361
1 Parent(s): 559ca0d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -7,7 +7,8 @@ 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.git /workspace/app
10
- RUN git reset --hard 693fb7b0600ba05a5895bc174bd9530ba6c1c784
 
11
  # RUN git clone https://github.com/small-tk/go-proxy-bingai.git /workspace/app
12
  # 设置工作目录为之前克隆的项目目录
13
  WORKDIR /workspace/app
 
7
 
8
  # 从 GitHub 克隆 go-proxy-bingai 项目到 /workspace/app 目录下
9
  RUN git clone https://github.com/Harry-zklcdc/go-proxy-bingai.git /workspace/app
10
+ # 切换到特定版本
11
+ RUN cd /workspace/app && git reset --hard 693fb7b0600ba05a5895bc174bd9530ba6c1c784
12
  # RUN git clone https://github.com/small-tk/go-proxy-bingai.git /workspace/app
13
  # 设置工作目录为之前克隆的项目目录
14
  WORKDIR /workspace/app