Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
update dockerfile
fix npm build error
  • Loading branch information
try2codesecure committed Dec 11, 2017
1 parent 5756648 commit d42a5a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Expand Up @@ -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
Expand Down

0 comments on commit d42a5a2

Please sign in to comment.