publish my redfish_exporter
This commit is contained in:
13
python/redfish-api/Dockerfile
Normal file
13
python/redfish-api/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM python:3
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY redfish_exporter.py .
|
||||
COPY config.yaml .
|
||||
|
||||
CMD [ "python", "./redfish_exporter.py" ]
|
||||
Reference in New Issue
Block a user