how to start python on docker code example
Example: Docker Python Script Run
# Dockerfile
FROM python:3
ADD my_script.py /
CMD [ "python", "./my_script.py" ]
# Commandline
docker run IMAGE /path/to/script.py
# Dockerfile
FROM python:3
ADD my_script.py /
CMD [ "python", "./my_script.py" ]
# Commandline
docker run IMAGE /path/to/script.py