mirror of
https://github.com/wahyd4/docker-hub-exporter.git
synced 2026-08-09 04:46:34 +10:00
12 lines
212 B
Docker
12 lines
212 B
Docker
FROM python:3.5-alpine
|
|
|
|
RUN pip install prometheus_client requests
|
|
|
|
ENV BIND_PORT 9170
|
|
ENV IMAGES "prom/prometheus, prom/node-exporter"
|
|
|
|
ADD . /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
|
CMD ["python", "hub_exporter.py"]
|