kingtest commited on
Commit
28abf3d
1 Parent(s): f7761e4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -6,10 +6,11 @@ ENV TZ=Asia/Shanghai
6
 
7
  WORKDIR /app
8
 
 
 
 
9
  # 安装git,克隆仓库,然后移除git以减小镜像体积
10
- RUN apk add --no-cache git && \
11
- git clone https://github.com/Chenyme/oaifree-tools.git /app && \
12
- apk del git
13
 
14
  # Install dependencies
15
  RUN pip install --no-cache-dir -r requirements.txt
 
6
 
7
  WORKDIR /app
8
 
9
+ # Install git
10
+ RUN apt-get update && apt-get install -y git
11
+
12
  # 安装git,克隆仓库,然后移除git以减小镜像体积
13
+ RUN git clone https://github.com/Chenyme/oaifree-tools.git /app
 
 
14
 
15
  # Install dependencies
16
  RUN pip install --no-cache-dir -r requirements.txt