fix: dockerfile中node版本修改

This commit is contained in:
huan 2024-08-08 18:22:22 +08:00
parent 5f8c578d2f
commit cdb53d2149

View File

@ -1,4 +1,4 @@
FROM node:20 FROM node:18-alpine
WORKDIR /app WORKDIR /app
@ -9,4 +9,4 @@ COPY . .
EXPOSE 3000 EXPOSE 3000
CMD ["node", "src/index.js"] CMD ["npm", "start"]