Skip to content
Snippets Groups Projects
Verified Commit 5cda0056 authored by Alexander Wellbrock's avatar Alexander Wellbrock
Browse files

install gpiod per default

So it won't get installed everytime the container is started.
parent 3204b16d
Branches
Tags
No related merge requests found
...@@ -6,6 +6,7 @@ WORKDIR /var/srv/python-mqtt-gpio ...@@ -6,6 +6,7 @@ WORKDIR /var/srv/python-mqtt-gpio
RUN dnf install -y libgpiod libgpiod-devel libgpiod-c++ python3-libgpiod python3-pip && \ RUN dnf install -y libgpiod libgpiod-devel libgpiod-c++ python3-libgpiod python3-pip && \
pip install -r /var/srv/python-mqtt-gpio/requirements.txt && \ pip install -r /var/srv/python-mqtt-gpio/requirements.txt && \
pip install gpiod && \
dnf clean all dnf clean all
CMD [ "/usr/bin/python3", "-m", "pi_mqtt_gpio.server", "config.yml" ] CMD [ "/usr/bin/python3", "-m", "pi_mqtt_gpio.server", "config.yml" ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment