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:
11
Dockerfile
Normal file
11
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user