Skip to content

Commit

Permalink
feat: change npm mirror to ali mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
yunnysunny committed Mar 31, 2024
1 parent fdda351 commit 236292e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN wget https://mirrors.huaweicloud.com/nodejs/v${NODE_VERSION}/node-v${NODE_VE
RUN mkdir -p /usr/local/node && tar -zxvf node-v${NODE_VERSION}-linux-x64.tar.gz -C /usr/local/node
ENV PATH="/usr/local/node/node-v${NODE_VERSION}-linux-x64/bin/:${PATH}"

RUN npm config set registry https://mirrors.huaweicloud.com/repository/npm/
RUN npm config set registry https://registry.npmmirror.com
RUN npm install gitbook-cli -g
RUN gitbook fetch 3.2.3

Expand Down

0 comments on commit 236292e

Please sign in to comment.