docker compose down was missing

This commit is contained in:
Falko Richter 2024-07-11 09:18:08 +02:00
parent d22a7574a4
commit 340d76c7a2
2 changed files with 6 additions and 2 deletions

View File

@ -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
#RUN pip3 install paho-mqtt foo
# `docker compose downa and `docker compose build` https://github.com/docker/compose/issues/1487

View File

@ -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