diff --git a/Dockerfile b/Dockerfile index c7c29b7..a740765 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,8 @@ RUN apk add --update --no-cache \ jq WORKDIR "/home/node" ARG WIKI_PACKAGE=wiki@0.21.0 -RUN su node -c "npm install -g --prefix . $WIKI_PACKAGE" +RUN su node -c "npm install -g --prefix . $WIKI_PACKAGE" \ + && su node -c "cd /home/node/lib/node_modules/wiki && npm install --save wiki-server@0.17.3 wiki-client@0.20.0" RUN su node -c "mkdir -p .wiki" VOLUME "/home/node/.wiki" EXPOSE 3000 diff --git a/README.md b/README.md index a2abfed..0cba85f 100644 --- a/README.md +++ b/README.md @@ -53,10 +53,8 @@ The repos in Dockerhub and GitHub are configured to automatically build new tags # Publish experimental plugins +Invoke Dockerhub and GitHub integration. ``` bash -docker build \ - --tag dobbs/farm:0.14.0-frame \ - --build-arg WIKI_PACKAGE='dobbs/wiki#frame' \ - . -docker push dobbs/farm:0.14.0-frame +git tag -am "" '1.0.2-pre-0217' +git push --atomic origin master '1.0.2-pre-0217' ```