how to make a docker container that can run python script 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