Answers for "Docker Python Script Run"

0

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
Posted by: Guest on May-30-2021

Python Answers by Framework

Browse Popular Code Answers by Language