From 5b7415213745c7c7b3c08bdf0892f14fa0ec7ae7 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Tue, 22 Oct 2024 12:33:55 -0400 Subject: [PATCH] Slightly less cursed way of installing forked w-s-p --- 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