We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b8273c commit bbbd4e5Copy full SHA for bbbd4e5
Dockerfile
@@ -2,7 +2,10 @@ FROM node:10.23.1-alpine3.9
2
3
COPY . /app/portal
4
WORKDIR /app/portal
5
-RUN npm install -g cnpm --registry=https://registry.npmmirror.com \
+RUN alias cnpm="npm --registry=https://registry.npmmirror.com \
6
+--cache=$HOME/.npm/.cache/cnpm \
7
+--disturl=https://npmmirror.com/mirrors/node \
8
+--userconfig=$HOME/.cnpmrc" \
9
&& cnpm i gitbook-cli -g \
10
&& gitbook install \
11
&& sed -i 's/confirm: true/confirm: false/g' ~/.gitbook/versions/3.2.3/lib/output/website/copyPluginAssets.js
0 commit comments