mirror of
https://github.com/daniviga/bite.git
synced 2024-11-23 05:16:13 +01:00
Daniele Viganò
a7cebefbf5
* Add MQTT support on Arduino * Add MQTT simulator * Use a single python simulator * Minor improvements to dockerfiles * Add transport internal field to telemetry * Add PubSubClient
8 lines
184 B
Docker
8 lines
184 B
Docker
FROM python:3.8-alpine
|
|
|
|
RUN pip3 install urllib3 paho-mqtt
|
|
COPY ./device_simulator.py /opt/freedcs/device_simulator.py
|
|
|
|
ENTRYPOINT ["python3"]
|
|
CMD ["/opt/freedcs/device_simulator.py"]
|