Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -5
Dockerfile
CHANGED
|
@@ -6,11 +6,9 @@ ENV TZ=Asia/Shanghai
|
|
| 6 |
|
| 7 |
WORKDIR /app
|
| 8 |
|
| 9 |
-
#
|
| 10 |
-
RUN
|
| 11 |
-
|
| 12 |
-
# Clone the repository
|
| 13 |
-
RUN git clone https://github.com/Chenyme/oaifree-tools.git /app && \
|
| 14 |
apk del git
|
| 15 |
|
| 16 |
# Install dependencies
|
|
|
|
| 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
|