diff --git a/Dockerfile b/Dockerfile index fc9f344..646b165 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,13 @@ -FROM gsol/node:6.9.1 +FROM node:6.10.2-alpine MAINTAINER Global Solutions co., ltd. -LABEL version="0.1.0" +LABEL version="2.1.4" WORKDIR "/home/node/verdaccio" ADD package.json config.yaml /home/node/verdaccio/ -RUN adduser --disabled-password --gecos '' node && \ - npm install --production && \ +RUN npm install --production && \ + mkdir storage local_storage && \ + npm cache -f clean && \ chown node:node . -R USER node diff --git a/package.json b/package.json index b2aab8d..ec15053 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docker-verdaccio", - "version": "0.1.0", + "version": "2.1.4", "description": "dockerized verdaccio", "scripts": { "start": "npm run verdaccio --", @@ -22,6 +22,6 @@ }, "homepage": "https://github.com/Global-Solutions/docker-verdaccio#readme", "dependencies": { - "verdaccio": "2.1.0" + "verdaccio": "2.1.4" } }