blob: 41e4859ee4f2f94e8de8f41ce146d6d87e3d5f4d [file] [log] [blame]
FROM python:3.8-slim
WORKDIR /usr/src/app
COPY setup.py /usr/src/app/
RUN pip install .
COPY prometheus_es_exporter/*.py /usr/src/app/prometheus_es_exporter/
RUN pip install -e .
COPY LICENSE /usr/src/app/
COPY README.md /usr/src/app/
EXPOSE 9206
ENTRYPOINT ["python", "-u", "/usr/local/bin/prometheus-es-exporter"]