Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
FROM nikolaik/python-nodejs:python3.10-nodejs20
|
2 |
|
3 |
-
#
|
4 |
-
ARG CACHEBUST
|
5 |
|
6 |
ENV USER=pn \
|
7 |
HOMEDIR=/home/pn \
|
@@ -21,8 +21,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
21 |
|
22 |
WORKDIR ${HOMEDIR}
|
23 |
|
24 |
-
#
|
25 |
-
RUN git clone https://github.com/aigem/edgeTTS-openai-api.git && echo ${CACHEBUST}
|
26 |
|
27 |
# 给所有 .sh 文件添加执行权限
|
28 |
RUN chmod +x ${HOMEDIR}/edgeTTS-openai-api/src/*.sh \
|
|
|
1 |
FROM nikolaik/python-nodejs:python3.10-nodejs20
|
2 |
|
3 |
+
# 添加 CACHEBUST 参数
|
4 |
+
ARG CACHEBUST=1
|
5 |
|
6 |
ENV USER=pn \
|
7 |
HOMEDIR=/home/pn \
|
|
|
21 |
|
22 |
WORKDIR ${HOMEDIR}
|
23 |
|
24 |
+
# 使用 CACHEBUST 参数来强制更新
|
25 |
+
RUN git clone https://github.com/aigem/edgeTTS-openai-api.git && echo "Cache bust: ${CACHEBUST}"
|
26 |
|
27 |
# 给所有 .sh 文件添加执行权限
|
28 |
RUN chmod +x ${HOMEDIR}/edgeTTS-openai-api/src/*.sh \
|