mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-12 11:14:57 +02:00
16 lines
280 B
Docker
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"]
|