mirror of
https://github.com/frankiejun/node-ws.git
synced 2026-06-10 01:43:19 +08:00
Update Dockerfile
This commit is contained in:
@@ -10,7 +10,7 @@ COPY . .
|
||||
# EXPOSE 3000
|
||||
|
||||
# 安装应用程序的依赖
|
||||
RUN npm install
|
||||
RUN npm install -r package.json
|
||||
|
||||
# 设置默认的命令,即启动应用程序
|
||||
CMD ["node", "app.js"]
|
||||
CMD ["node", "index.js"]
|
||||
|
||||
Reference in New Issue
Block a user