<filename>docker/grafana/Dockerfile
FROM grafana/grafana:4.1.1
MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update && \
    apt-get install -y curl gettext-base && \
    rm -rf /var/lib/apt/lists/*

COPY ./config/dashboards /etc/grafana/dashboards
COPY ./config/datasources /etc/grafana/datasources

WORKDIR /app
COPY entrypoint.sh ./
RUN chmod u+x entrypoint.sh

ENTRYPOINT ["/app/entrypoint.sh"]