Public | Automated Build

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

google/python

google/python is a docker base image that bundles the stable version of python installed from debian stable and pip and virtualenv installed from PyPI.

It serves as a base for the google/python-runtime image.

Usage

  • Create a Dockerfile in your python application directory with the following content:

      FROM google/python
    
      WORKDIR /app
      RUN virtualenv /env
      ADD requirements.txt /app/requirements.txt
      RUN /env/bin/pip install -r requirements.txt
      ADD . /app
    
      CMD []
      ENTRYPOINT ["/env/bin/python", "/app/main.py"]
    
  • Run the following command in your application directory:

      docker build -t my/app .
    
Docker Pull Command
Owner
picorb
Source Repository