adding python3 as a layer to the image

This commit is contained in:
Falko Richter 2024-07-11 08:46:40 +02:00
parent d028a91486
commit d5d74239ee
2 changed files with 12 additions and 1 deletions

View File

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

View File

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