Public | Automated Build

Last pushed: a year ago
Short Description
Dockerfile for a python-ready container used to simulate Heroku's "heroku16" stack (Ubuntu 16.04).
Full Description


Dockerfile for building a container for running Heroku applications with a
specific python version.

Use Case

This Dockerfile is used as a base build for python applications that run
on the Heroku16 stack. It reinstalls a specified version of Python (as
per the runtime.txt file).

The resulting image will be large (>1GB), because it includes all of the
build tools. The expectation is that the output image will be used as
the base for a specific project image which contains all of the project

As an example, this is our project Dockerfile:

FROM yunojuno/heroku16:2.7.13

LABEL maintainer "YunoJuno <>"

ADD requirements.txt /tmp

RUN pip install -r /tmp/requirements.txt

VOLUME ["/app"]
WORKDIR "/app"

ENTRYPOINT ["python", ""]
CMD ["runserver", ""]
Docker Pull Command
Source Repository