1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/mqtt-io-arm/Dockerfile

16 lines
280 B
Docker
Raw Normal View History

2021-11-21 10:32:00 +02:00
#
# Dockerfile for mqtt-io-arm
#
FROM debian:bullseye
RUN set -xe \
&& apt update -y \
&& apt install -y python3 python3-pip python3-rpi.gpio \
&& pip3 install --no-cache mqtt-io \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
CMD ["python3", "-m", "mqtt_io", "config.yml"]