diff --git a/Dockerfile b/Dockerfile index 88344f4..5c2d399 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,11 @@ FROM golang:1.9.2-alpine # golang alpine doesn't have ONBUILD, do it manually, then run npm and cleanup COPY . /go/src/github.com/sensu/uchiwa WORKDIR /go/src/github.com/sensu/uchiwa -RUN apk add --no-cache nodejs git && \ +RUN apk add --no-cache nodejs-npm git && \ go install -v && \ npm install --production --unsafe-perm && \ npm dedupe && \ - apk del --no-cache git nodejs && \ + apk del --no-cache git nodejs-npm && \ rm -rf /go/src/github.com/sensu/uchiwa/node_modules VOLUME /config