fix: dockerfile中node版本修改
This commit is contained in:
parent
5f8c578d2f
commit
cdb53d2149
@ -1,4 +1,4 @@
|
||||
FROM node:20
|
||||
FROM node:18-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@ -9,4 +9,4 @@ COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "src/index.js"]
|
||||
CMD ["npm", "start"]
|
Loading…
Reference in New Issue
Block a user