From 8b8f129f076bed377801f141e9227fb1f11ce22a Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Tue, 22 Oct 2024 13:40:46 -0400 Subject: [PATCH] Reapply "Slightly less cursed way of installing forked w-s-p" This reverts commit fdb5ebb73d11989b94bbc6622c13d13bed63bcbc. --- Dockerfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 884e49c..0c2af14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,14 +11,10 @@ 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 cd lib/node_modules/wiki/node_modules/wiki-security-passportjs && \ - npm install && \ - node_modules/grunt/bin/grunt +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 mkdir -p .wiki