Dear Marius,
in ./metasploit/Dockerfile you state:
RUN apt install -y curl apt-utils nmap python ruby ruby-dev postgresql
which causes an issue while building the last stage.
You can update using python3
RUN apt install -y curl apt-utils nmap python3 ruby ruby-dev postgresql
This will run like a charm...
Hope this helps,
T.