chronograf/Dockerfile

17 lines
526 B
Docker
Raw Normal View History

FROM gliderlabs/alpine
MAINTAINER Chris Goller <chris@influxdb.com>
RUN apk add --update ca-certificates && \
rm /var/cache/apk/*
ADD chronograf /usr/bin/chronograf
ADD chronoctl /usr/bin/chronoctl
2016-11-13 21:18:51 +00:00
ADD canned/*.json /usr/share/chronograf/canned/
2016-11-12 18:48:19 +00:00
ADD LICENSE /usr/share/chronograf/LICENSE
ADD agpl-3.0.md /usr/share/chronograf/agpl-3.0.md
EXPOSE 8888
2016-11-15 15:07:12 +00:00
VOLUME ["/usr/share/chronograf", "/var/lib/chronograf"]
2016-11-13 21:18:51 +00:00
CMD ["/usr/bin/chronograf", "-b", "/var/lib/chronograf/chronograf-v1.db", "-c", "/usr/share/chronograf/canned"]