Last active
December 15, 2016 02:51
-
-
Save matt-baker/c045043e086c89e7a6b9eb7b808a7c96 to your computer and use it in GitHub Desktop.
Sample Dockerfile for parallel processing with Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# VERY basic Dockerfile | |
FROM python:2.7 | |
ADD your_script.py /home/user/your_script.py # Add to container | |
CMD ["python", "-u", "/home/user/your_script.py"] # Run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment