Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
how to run python file from cmd in dockerfile
rohan
Programming language:
Python
2021-06-20 18:48:49
0
Q:
how to run python file from cmd in dockerfile
ronn Lee
Code:
Python
2021-07-18 08:37:58
FROM python:3 ADD my_script.py / RUN pip install pystrich CMD [ "python", "./my_script.py" ]
1
Tags
run
python
file
how
python file
Related
install python3 in dockerfile
dockerfile entrypoint python3
dockerfile to run python script
install python in dockerfile
how to run python file from cmd
how to run cmd command python
install python 3.6 dockerfile
New to Communities?
Join the community