From 04c3ba7fe15e82ac17e31863d8e81ce5b7442ac4 Mon Sep 17 00:00:00 2001 From: Eric Dobbs Date: Sun, 28 Feb 2021 09:18:34 -0700 Subject: [PATCH] upgrade wiki-client to v0.23.0 --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0f84ba4..43d15b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,9 @@ RUN apk add --update --no-cache \ jq WORKDIR "/home/node" ARG WIKI_PACKAGE=wiki@0.23 -RUN su node -c "npm install -g --prefix . $WIKI_PACKAGE" +ARG WIKI_CLIENT=wiki-client@v0.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 "mkdir -p .wiki" VOLUME "/home/node/.wiki" EXPOSE 3000