FROM raspbian/jessie

RUN apt update

RUN apt install -y python3-dev python3-pip

RUN rm -r /var/lib/apt/lists/*

RUN pip3 install --upgrade pip

RUN pip3 install websocket-client==0.40.0

RUN pip3 install docker

RUN pip3 install paho-mqtt

COPY run.py run.py

CMD python3 run.py