diff --git a/bffh-v0.4.2-with-python3-dockerfile-v2 b/bffh-v0.4.2-with-python3-dockerfile-v2 index 36ae17d..21a62cc 100644 --- a/bffh-v0.4.2-with-python3-dockerfile-v2 +++ b/bffh-v0.4.2-with-python3-dockerfile-v2 @@ -7,7 +7,7 @@ RUN pip3 install paho-mqtt # also installs paho-mqtt as it's required for https://gitlab.com/volkersfreunde/tasmota # 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-v2 -f bffh-v0.4.2-with-python3-dockerfile-v2 . # https://stackoverflow.com/questions/57528077/docker-compose-with-name-other-than-dockerfile # this might be another option @@ -16,4 +16,7 @@ RUN pip3 install paho-mqtt #FROM registry.gitlab.com/fabinfra/fabaccess/bffh:v0.4.2 #RUN apt update && apt install -y python3 python3-pipx -#RUN pip3 install paho-mqtt foo \ No newline at end of file +#RUN pip3 install paho-mqtt foo + + +# `docker compose downa and `docker compose build` https://github.com/docker/compose/issues/1487 \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index e50ba4b..2cd8bbf 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -10,6 +10,7 @@ services: bffh: build: + # changes in the file will require `docker compose down` `docker compose build` context: . dockerfile: bffh-v0.4.2-with-python3-dockerfile-v2 pull_policy: always