Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -6,10 +6,11 @@ ENV TZ=Asia/Shanghai
|
|
6 |
|
7 |
WORKDIR /app
|
8 |
|
|
|
|
|
|
|
9 |
# 安装git,克隆仓库,然后移除git以减小镜像体积
|
10 |
-
RUN
|
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
|