fuliai commited on
Commit
23b785c
1 Parent(s): eef3b16

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  FROM nikolaik/python-nodejs:python3.11-nodejs20
2
 
3
  # 添加 CACHEBUST 参数
4
- ARG CACHEBUST=1
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
- # 在启动时设置 API_KEY 环境变量
36
- ENTRYPOINT ${HOMEDIR}/${PROJECT_NAME}/src/startup.sh
 
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