From fdb5ebb73d11989b94bbc6622c13d13bed63bcbc Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Tue, 22 Oct 2024 12:56:08 -0400 Subject: [PATCH] Revert "Slightly less cursed way of installing forked w-s-p" This reverts commit 5b7415213745c7c7b3c08bdf0892f14fa0ec7ae7. --- Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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