howto run a docker file code example
Example 1: how to run python file from cmd in dockerfile
FROM python:3
ADD my_script.py /
RUN pip install pystrich
CMD [ "python", "./my_script.py" ]
Example 2: docker run command on container
sudo docker exec -it