paho-mqtt was missing

This commit is contained in:
Falko Richter 2024-07-11 08:58:59 +02:00
parent d5d74239ee
commit bacd34aaff

View File

@ -1,8 +1,10 @@
FROM registry.gitlab.com/fabinfra/fabaccess/bffh:v0.4.2 FROM registry.gitlab.com/fabinfra/fabaccess/bffh:v0.4.2
RUN apt update && apt install -y python3 RUN apt update && apt install -y python3 python3-pip
RUN pip3 install paho-mqtt
# this adds python3 to this version of the fabaccess bffh server # this adds python3 to this version of the fabaccess bffh server
# also installs paho-mqtt as it's required for https://gitlab.com/volkersfreunde/tasmota
# https://www.codewithjason.com/docker-hello-world-app/ helped me: # https://www.codewithjason.com/docker-hello-world-app/ helped me:
# docker build --tag bffh-v0.4.2-with-python3 -f bffh-v0.4.2-with-python3-dockerfile . # docker build --tag bffh-v0.4.2-with-python3 -f bffh-v0.4.2-with-python3-dockerfile .