Done stuff
This commit is contained in:
10
mqttinflux/Dockerfile
Normal file
10
mqttinflux/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
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" ]
|
Reference in New Issue
Block a user