From 6f9ed1279c114b3fbbd6a6e091171fc10ca05773 Mon Sep 17 00:00:00 2001 From: Eric Dobbs Date: Sun, 28 Feb 2021 13:30:18 -0700 Subject: [PATCH] upgrade to wiki 0.23.0 + wiki-client 0.23.0 with feeling previous attempt didn't actually install the new wiki-client fixed the previous single & between cd and npm install --save --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7a8d21b..3a2729b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,10 @@ RUN apk add --update --no-cache \ git \ jq WORKDIR "/home/node" -ARG WIKI_PACKAGE=wiki@0.23 +ARG WIKI_PACKAGE=wiki@0.23.0 ARG WIKI_CLIENT=wiki-client@0.23.0 -RUN su node -c "npm install -g --prefix . $WIKI_PACKAGE" \ - && su node -c "cd /home/node/lib/node_modules/wiki & npm install --save $WIKI_CLIENT" +RUN su node -c "npm install -g --prefix . $WIKI_PACKAGE" +RUN su node -c "cd /home/node/lib/node_modules/wiki; npm install --save $WIKI_CLIENT" RUN su node -c "mkdir -p .wiki" VOLUME "/home/node/.wiki" EXPOSE 3000