diff --git a/bffh-v0.4.2-with-python3-dockerfile b/bffh-v0.4.2-with-python3-dockerfile-v2 similarity index 62% rename from bffh-v0.4.2-with-python3-dockerfile rename to bffh-v0.4.2-with-python3-dockerfile-v2 index 6bbd7e9..36ae17d 100644 --- a/bffh-v0.4.2-with-python3-dockerfile +++ b/bffh-v0.4.2-with-python3-dockerfile-v2 @@ -8,4 +8,12 @@ RUN pip3 install paho-mqtt # 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 . -# https://stackoverflow.com/questions/57528077/docker-compose-with-name-other-than-dockerfile \ No newline at end of file +# https://stackoverflow.com/questions/57528077/docker-compose-with-name-other-than-dockerfile + +# this might be another option +# https://docs.docker.com/compose/compose-file/build/#dockerfile_inline +#dockerfile_inline: | +#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 diff --git a/docker-compose.yaml b/docker-compose.yaml index 6d27b79..e50ba4b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -11,7 +11,7 @@ services: bffh: build: context: . - dockerfile: bffh-v0.4.2-with-python3-dockerfile + dockerfile: bffh-v0.4.2-with-python3-dockerfile-v2 pull_policy: always restart: always ports: