FROM python:slim # python packages RUN pip install --no-cache-dir paho-mqtt && pip cache purge WORKDIR /app COPY extractor.py /app/. ENTRYPOINT ["python", "/app/extractor.py"]