修改指定源

This commit is contained in:
aixianling
2023-12-12 11:18:21 +08:00
parent 3ea8420747
commit d04491f17e

View File

@@ -8,7 +8,7 @@ USER node
COPY --chown=node package*.json /home/node-service COPY --chown=node package*.json /home/node-service
RUN npm i RUN npm i --registry=http://registry.npmmirror.com
COPY --chown=node . /home/node-service COPY --chown=node . /home/node-service
CMD ["node", "index.js"] CMD ["node", "index.js"]