修改指定源
This commit is contained in:
@@ -8,7 +8,7 @@ USER node
|
||||
|
||||
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
|
||||
|
||||
CMD ["node", "index.js"]
|
||||
|
||||
Reference in New Issue
Block a user