blob: 41e4859ee4f2f94e8de8f41ce146d6d87e3d5f4d [file] [log] [blame]
Michal Kobusd4a0b232020-09-30 12:02:32 +02001FROM python:3.8-slim
Michal Kobus14e835b2019-04-11 14:25:27 +02002
3WORKDIR /usr/src/app
4
5COPY setup.py /usr/src/app/
6RUN pip install .
7
8COPY prometheus_es_exporter/*.py /usr/src/app/prometheus_es_exporter/
9RUN pip install -e .
10
11COPY LICENSE /usr/src/app/
12COPY README.md /usr/src/app/
13
14EXPOSE 9206
15
16ENTRYPOINT ["python", "-u", "/usr/local/bin/prometheus-es-exporter"]