fuliai commited on
Commit
54a8188
1 Parent(s): a346bad

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  FROM nikolaik/python-nodejs:python3.10-nodejs20
2
 
3
  # 添加 CACHEBUST 参数
4
- ARG CACHEBUST=2
5
 
6
  ENV USER=pn \
7
  HOMEDIR=/home/pn \
@@ -35,4 +35,4 @@ RUN git clone https://github.com/aigem/edgeTTS-openai-api.git \
35
  EXPOSE ${PORT}
36
 
37
  # 在启动时设置 API_KEY 环境变量
38
- ENTRYPOINT API_KEY=$(cat /run/secrets/apikey) && /home/pn/edgeTTS-openai-api/src/startup.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 \
 
35
  EXPOSE ${PORT}
36
 
37
  # 在启动时设置 API_KEY 环境变量
38
+ ENTRYPOINT API_KEY="$(cat /run/secrets/apikey)" && /home/pn/edgeTTS-openai-api/src/startup.sh