1
0
mirror of https://github.com/jcwimer/openstack-exporter synced 2026-03-24 17:44:42 +00:00

Initial api response time and hypervisor metrics

This commit is contained in:
2020-11-19 07:06:44 -05:00
commit b5ae6a0088
7 changed files with 445 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM python:3.8
RUN pip install pipenv
RUN mkdir /python
### CACHE PIP DEPENDENCIES
COPY Pipfile* /tmp/
RUN cd /tmp && pipenv lock --requirements > requirements.txt
RUN pip install -r /tmp/requirements.txt
###
WORKDIR /python
COPY . .
CMD ["python", "/python/openstack_exporter.py"]