FROM library/python:3.7-slim WORKDIR /app COPY requirements.txt /app/ RUN pip3.7 install -r requirements.txt COPY exporter.py /app/ EXPOSE 9115 CMD ["python3", "exporter.py"]