Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
FROM nikolaik/python-nodejs:python3.10-nodejs20
|
2 |
|
|
|
|
|
|
|
3 |
ENV USER=pn \
|
4 |
HOMEDIR=/home/pn \
|
5 |
PORT=7860 \
|
@@ -36,4 +39,4 @@ RUN --mount=type=secret,id=apikey,mode=0444,required=true \
|
|
36 |
# 暴露 Remix 端口
|
37 |
EXPOSE ${PORT}
|
38 |
|
39 |
-
ENTRYPOINT ["/home/pn/edgeTTS-openai-api/src/startup.sh"]
|
|
|
1 |
FROM nikolaik/python-nodejs:python3.10-nodejs20
|
2 |
|
3 |
+
# 禁用 Docker 缓存
|
4 |
+
ARG CACHEBUST=1
|
5 |
+
|
6 |
ENV USER=pn \
|
7 |
HOMEDIR=/home/pn \
|
8 |
PORT=7860 \
|
|
|
39 |
# 暴露 Remix 端口
|
40 |
EXPOSE ${PORT}
|
41 |
|
42 |
+
ENTRYPOINT ["/home/pn/edgeTTS-openai-api/src/startup.sh"]
|