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" ]