Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -3,9 +3,10 @@
|
|
3 |
FROM golang:alpine AS builder
|
4 |
|
5 |
# 添加 git,以便之后能从GitHub克隆项目
|
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 && \
|
|
|
3 |
FROM golang:alpine AS builder
|
4 |
|
5 |
# 添加 git,以便之后能从GitHub克隆项目
|
6 |
+
RUN apk --no-cache add git unzip
|
7 |
|
8 |
# 从 GitHub 克隆 go-proxy-bingai 项目到 /workspace/app 目录下
|
9 |
+
WORKDIR /workspace
|
10 |
RUN wget -O app.zip https://github.com/Harry-zklcdc/go-proxy-bingai/archive/refs/tags/v1.11.5.zip && \
|
11 |
unzip app.zip && \
|
12 |
mv go-proxy-bingai-1.11.5 app && \
|