diff --git a/Dockerfile b/Dockerfile index 0c2af14..884e49c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,10 +11,14 @@ ARG WIKI_PACKAGE=wiki@0.37.0 USER node +RUN npm install -g --prefix . $WIKI_PACKAGE +RUN cd lib/node_modules/wiki/node_modules && \ + rm -r wiki-security-passportjs && \ + git clone https://git.coopcloud.tech/wiki-cafe/wiki-security-passportjs.git -RUN npm install -g --prefix . $WIKI_PACKAGE && \ - cd lib/node_modules/wiki && \ - npm install --prefix . git+https://git.coopcloud.tech/wiki-cafe/wiki-security-passportjs +RUN cd lib/node_modules/wiki/node_modules/wiki-security-passportjs && \ + npm install && \ + node_modules/grunt/bin/grunt RUN mkdir -p .wiki