Move chronograf files to /var/lib/chronograf

pull/524/head
Jack Zampolin 2016-11-13 09:11:44 -08:00
parent 1f04d5d7f3
commit ca2b8e5986
1 changed files with 6 additions and 3 deletions

View File

@ -3,8 +3,11 @@ MAINTAINER Chris Goller <chris@influxdb.com>
RUN apk add --update ca-certificates && \
rm /var/cache/apk/*
ENV BOLT_PATH /var/lib/chronograf/chronograf.db
ENV CANNED_PATH /var/lib/chronograf/cannded/
ADD chronograf /chronograf
ADD canned/*.json /canned/
ADD chronograf /usr/bin/chronograf
ADD canned/*.json /var/lib/chronograf/canned/
CMD ["/chronograf"]
CMD ["/usr/bin/chronograf"]