Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
FROM nikolaik/python-nodejs:python3.11-nodejs20
|
2 |
|
3 |
# 添加 CACHEBUST 参数
|
4 |
-
ARG CACHEBUST=
|
5 |
|
6 |
ENV USER=pn \
|
7 |
HOMEDIR=/home/pn \
|
@@ -32,5 +32,5 @@ RUN git clone ${GIT_REPO} ${HOMEDIR}/${PROJECT_NAME} \
|
|
32 |
# 暴露 Remix 端口
|
33 |
EXPOSE ${PORT}
|
34 |
|
35 |
-
#
|
36 |
-
ENTRYPOINT ${HOMEDIR}
|
|
|
1 |
FROM nikolaik/python-nodejs:python3.11-nodejs20
|
2 |
|
3 |
# 添加 CACHEBUST 参数
|
4 |
+
ARG CACHEBUST=2
|
5 |
|
6 |
ENV USER=pn \
|
7 |
HOMEDIR=/home/pn \
|
|
|
32 |
# 暴露 Remix 端口
|
33 |
EXPOSE ${PORT}
|
34 |
|
35 |
+
# 启动
|
36 |
+
ENTRYPOINT python ${HOMEDIR}/app/run.py
|