In order to get to the error can't open file 'hss.py', I needed to solve a catch-22 situation where I needed a static ip address before the docker build so I made a custom docker network for pyhss so I can preset the docker internal ip address for pyhss:
and when I run docker network inspect $(docker network ls | awk '$3 == "bridge" { print $1}') | jq -r '.[] | .Name + " " + .IPAM.Config[0].Subnet' - I can see the new network:
In order to get to the error
can't open file 'hss.py'
, I needed to solve a catch-22 situation where I needed a static ip address before the docker build so I made a custom docker network for pyhss so I can preset the docker internal ip address for pyhss:docker network create --subnet 172.31.0.1/16 --internal hss
and when I run
docker network inspect $(docker network ls | awk '$3 == "bridge" { print $1}') | jq -r '.[] | .Name + " " + .IPAM.Config[0].Subnet' -
I can see the new network:my docker-compose.yaml:
After doing this, I managed to get the Dockerfile building, however I see another error:
This appears to be a bug. Where is
hss.py
?