This repository provides the base python docker image for Weenect development environment.
323
You can find :
weenect/python:2.7weenect/python:stackless2.7The images are all build with the same structure.
Each image provides a folder tree for the project :
And a bash script as an entry point. This script does the following action :
python setup.py develop command inside the /opt/dev/src folder$VARIABLE using environment variables in the /opt/dev/conf/config_original.cfg file and create a new file /opt/dev/conf/config.cfg (usefull when linking containers)/opt/dev/conf/packages if it exists (for example to post install additional dependencies)A simple example of a Dockerfile extending one of these images :
FROM weenect/python:2.7
COPY myconfigfile.cfg /opt/dev/conf/config_original.cfg
EXPOSE 8080
CMD ["/opt/dev/venv/bin/my-project-command", "serve", "/opt/dev/conf/config.cfg"]
Content type
Image
Digest
sha256:d6795fd34…
Size
317.5 MB
Last updated
almost 11 years ago
docker pull weenect/python:stackless2.7