sfun commited on
Commit
2b6ce4a
1 Parent(s): 2b4a49c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -9,8 +9,11 @@ ENV GO111MODULE=on \
9
  # 设置工作目录
10
  WORKDIR /build
11
 
 
 
 
12
  # 复制整个项目并构建可执行文件
13
- RUN apk add git && git clone https://github.com/deanxv/coze-discord-proxy.git .
14
 
15
  #ENV GOPROXY=https://goproxy.cn,direct
16
  RUN go mod download
 
9
  # 设置工作目录
10
  WORKDIR /build
11
 
12
+ # 安装 git
13
+ RUN apt-get update && apt-get install -y git
14
+
15
  # 复制整个项目并构建可执行文件
16
+ RUN git clone https://github.com/deanxv/coze-discord-proxy.git .
17
 
18
  #ENV GOPROXY=https://goproxy.cn,direct
19
  RUN go mod download