dockerfile中运行命令的修改

This commit is contained in:
huan 2024-08-08 17:32:02 +08:00
parent 895c5a849e
commit 1a50c29e80

View File

@ -9,4 +9,4 @@ COPY . .
EXPOSE 3000
CMD ["npm", "start"]
CMD ["node", "src/index.js"]