statsd_exporter/Dockerfile

14 lines
273 B
Docker
Raw Normal View History

2022-12-24 20:49:43 +00:00
FROM prom/statsd-exporter:v0.23.0
2017-08-02 05:31:33 +00:00
EXPOSE 9102 9125 9125/udp
2022-12-24 20:49:43 +00:00
USER root
COPY start.sh /bin/start.sh
COPY statsd-mapping.yaml /bin/statsd-mapping.yaml
RUN mkdir /app
RUN mkdir /app/data
RUN chmod 777 /app/data
RUN chmod +x /bin/start.sh
ENTRYPOINT [ "/bin/start.sh" ]