1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-27 09:18:43 +00:00
dockerfiles/mqtt-io-arm/Dockerfile

16 lines
280 B
Docker
Raw Normal View History

2021-11-21 08:32:00 +00: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"]