diff --git a/bffh-v0.4.2-with-python3-dockerfile b/bffh-v0.4.2-with-python3-dockerfile new file mode 100644 index 0000000..150edc8 --- /dev/null +++ b/bffh-v0.4.2-with-python3-dockerfile @@ -0,0 +1,9 @@ +FROM registry.gitlab.com/fabinfra/fabaccess/bffh:v0.4.2 + +RUN apt update && apt install -y python3 + +# this adds python3 to this version of the fabaccess bffh server + +# 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 diff --git a/docker-compose.yaml b/docker-compose.yaml index 72efa88..6d27b79 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,7 +9,9 @@ services: # - "./config/dnsrobocert:/etc/dnsrobocert" bffh: - image: registry.gitlab.com/fabinfra/fabaccess/bffh:v0.4.2 + build: + context: . + dockerfile: bffh-v0.4.2-with-python3-dockerfile pull_policy: always restart: always ports: