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