fuliai commited on
Commit
a28d902
1 Parent(s): 8d73494

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,8 +1,5 @@
1
  FROM nikolaik/python-nodejs:python3.10-nodejs20
2
 
3
- # 禁用 Docker 缓存
4
- ARG CACHEBUST=2
5
-
6
  ENV USER=pn \
7
  HOMEDIR=/home/pn \
8
  PORT=7860 \
@@ -21,6 +18,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
21
 
22
  WORKDIR ${HOMEDIR}
23
 
 
 
 
24
  # git clone 到指定目录下
25
  RUN git clone https://github.com/aigem/edgeTTS-openai-api.git
26
 
 
1
  FROM nikolaik/python-nodejs:python3.10-nodejs20
2
 
 
 
 
3
  ENV USER=pn \
4
  HOMEDIR=/home/pn \
5
  PORT=7860 \
 
18
 
19
  WORKDIR ${HOMEDIR}
20
 
21
+ # 禁用 Docker 缓存,使用当时时间戳
22
+ ARG CACHEBUST=$(date +%s)
23
+
24
  # git clone 到指定目录下
25
  RUN git clone https://github.com/aigem/edgeTTS-openai-api.git
26