Wikipedia, FWIW, lists exactly ONE shipyard on the whole Afrcian continent.
It’s in Egypt.
It was built by the French.
In the 1850s.
With 1700 employees (per Wikipedia, FWIW), I doubt that it can build anything remotely resembling RMS Titanic.
Remember the German gunboat in The African Queen? That bit of the story was based on a real vessel, which is still operating on that lake in Africa. It was built in Germany, then sectioned into pieces that could be shipped to Africa and then overland to Lake Tanganyika, then reassembled there by a team of shipfitters that accompanied the crates from Germany.
You'd think that might've sparked a shipbuilding industry there, but...