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
This commit is contained in:
Eric Dobbs 2021-02-28 13:30:18 -07:00
parent 2ff3dcad1e
commit 6f9ed1279c

View File

@ -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