services/srcs/grafana/Dockerfile

12 lines
270 B
Docker
Raw Permalink Normal View History

2023-03-01 04:35:44 +01:00
FROM alpine
RUN sleep 10
RUN apk update
RUN apk add grafana
RUN apk add telegraf
COPY srcs/start.sh /root/start.sh
COPY srcs/telegraf.conf /etc/telegraf/telegraf.conf
COPY srcs/grafana.db /usr/share/grafana/data/grafana.db
WORKDIR /root/
CMD sh start.sh
EXPOSE 3000/tcp