Update Dockerfile

This commit is contained in:
Okka
2023-10-08 15:17:51 +08:00
committed by GitHub
parent 44f2519bc6
commit 432bb7e5d4

View File

@@ -10,7 +10,7 @@ COPY . .
# EXPOSE 3000
# 安装应用程序的依赖
RUN npm install
RUN npm install -r package.json
# 设置默认的命令,即启动应用程序
CMD ["node", "app.js"]
CMD ["node", "index.js"]