Common python packages and utilities used at Butter.ai
3.3K
Dockerfile links2017-04, py2 (2017-04/Dockerfile)2017-03 (2017-03/Dockerfile)2017-01 (2017-01/Dockerfile)nlpkit-2017-04, py2-nlpkit, nlpkit (nlpkit-2017-04/Dockerfile)nlpkit-2017-03 (nlpkit-2017-03/Dockerfile)nlpkit-2017-01 (nlpkit-2017-01/Dockerfile)py3-2017-04, py3, latest (py3-2017-04/Dockerfile)py3-2017-03 (py3-2017-03/Dockerfile)py3-2017-01 (py3-2017-01/Dockerfile)py3-nlpkit-2017-04, py3-nlpkit, (py3-nlpkit-2017-04/Dockerfile)py3-nlpkit-2017-01 (py3-nlpkit-2017-01/Dockerfile)PyButter is a set of common python packages used at Butter.ai. There are two image versions, a base image for standard python services, and an NLPkit version for Butter.ai natural language processing and machine learning services.
Dockerfile in your Python app projectFROM butter/pybutter:py3-2017-04
CMD [ "python", "./your-daemon-or-script.py" ]
or (if you need to use Python 2):
FROM butter/pybutter:2017-04
CMD [ "python", "./your-daemon-or-script.py" ]
For many simple, single file projects, you may find it inconvenient to write a complete Dockerfile. In such cases, you can run a Python script by using the Python Docker image directly:
$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp butter/pybutter:py3-nlpkit python your-daemon-or-script.py
or (again, if you need to use Python 2):
$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp butter/pybutter:nlpkit python your-daemon-or-script.py
Content type
Image
Digest
Size
210.4 MB
Last updated
over 8 years ago
docker pull butter/pybutter