fix: dockerfile中RUN修改
This commit is contained in:
parent
cdb53d2149
commit
0103d89b22
@ -2,11 +2,9 @@ FROM node:18-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
RUN apk add --no-cache python3 make g++ \
|
||||
&& npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm", "start"]
|
Loading…
Reference in New Issue
Block a user