1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 13:58:42 +00:00
dockerfiles/mqtt-io-arm/Dockerfile
2021-11-21 16:32:00 +08:00

16 lines
280 B
Docker

#
# 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"]