chronograf/Dockerfile

22 lines
652 B
Docker
Raw Permalink Normal View History

2023-02-28 17:31:44 +00:00
FROM alpine:3.17
2018-11-07 20:27:51 +00:00
ENV PROTOBOARDS_PATH /usr/share/chronograf/protoboards
ENV CANNED_PATH /usr/share/chronograf/canned
2021-06-24 06:41:07 +00:00
ENV RESOURCES_PATH /usr/share/chronograf/resources
ENV BOLT_PATH /var/lib/chronograf/chronograf-v1.db
2018-11-07 20:27:51 +00:00
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/
2018-11-07 19:52:36 +00:00
ADD protoboards/*.json /usr/share/chronograf/protoboards/
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"]
CMD ["/usr/bin/chronograf"]