12 lines
270 B
Docker
12 lines
270 B
Docker
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
|