Skip to content

Instantly share code, notes, and snippets.

@matt-baker
Last active December 15, 2016 02:51
Show Gist options
  • Save matt-baker/c045043e086c89e7a6b9eb7b808a7c96 to your computer and use it in GitHub Desktop.
Save matt-baker/c045043e086c89e7a6b9eb7b808a7c96 to your computer and use it in GitHub Desktop.
Sample Dockerfile for parallel processing with Docker
# 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