From 2504384fc458f4eeb598679ecd1ee7ac2fa19907 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Tue, 22 Oct 2024 14:12:52 -0400 Subject: [PATCH] Revert "Another attempt at more resilient building" This reverts commit 8fd9adf232b7963e96250a0a08fbe3082e0cbf78. --- Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7ce4b3f..0c2af14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,13 +11,10 @@ ARG WIKI_PACKAGE=wiki@0.37.0 USER node -RUN cd /tmp && \ - git clone https://github.com/fedwiki/wiki && \ - cd /tmp/wiki && \ - sed -i 's@"wiki-security-passportjs": "^0.10.0"@"wiki-security-passportjs": "git+https://git.coopcloud.tech/wiki-cafe/wiki-security-passportjs"@' package.json && \ - npm pack -RUN npm install -g --prefix . file:/tmp/wiki/wiki-0.37.1.tgz +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