Sign inSign up

pythonboilerplate/python3

By pythonboilerplate

Updated over 9 years ago

Python 3 installations

Image
0

10K+

pythonboilerplate/python3 repository overview

Python 3 image

pythonboilerplate/python3:latest image provides a simple Python 3.4 installation from debian:jessie repositories. It includes the Python interpreter, pip, python-boilerplate, py.test and invoke. This can be used as the basis for either a development image or a deploy image.

It assumes that the repository for your application will live on /app/ and its source code is under /app/src/.

Environment variables

This image define a few useful variables:

  • PYTHONPATH=/app/src Makes packages in your repository immediately available to the Python interpreter.

  • PYTHON_VERSION=3 Version of Python interpreter. This variable is used by some python-boilerplate invoke commands. You should not change it!

  • RUNNING_ON_DOCKER=true Again, used internally in some python-boilerplate invoke commands. Do not change it.

  • WSGI_APPLICATION=test_project.wsgi This variable is used by web applications (e.g. in the pythonboilerplate/python3:django image). We define it here to avoid an extra layer on those images.

  • STATIC_FILES=/var/www/ Ditto.

Tag summary

Content type

Image

Digest

Size

52.3 MB

Last updated

over 9 years ago

docker pull pythonboilerplate/python3