FROM python:slim

ENV MQTT_PORT 1883
ENV INFLUX_PORT 8086

RUN pip install influxdb paho-mqtt

COPY main.py /main.py

CMD [ "python", "/main.py" ]