This commit is contained in:
@ -2,12 +2,12 @@ FROM node:18-bullseye as dep-builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
# COPY package*.json ./
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm --registry https://registry.npm.taobao.org install
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD [ "node", "app.js" ]
|
||||
|
Reference in New Issue
Block a user