How to install python and other pre-requisites for node-red-contrib-machine-learning-v2 on a docker container

Is this a duplicate of How to install the required dependencies ?