django.md: fix Python image version (#2991)

Dockerfile's base image was not consistent the the explanation below.
This commit is contained in:
Germán Larraín 2017-04-22 03:59:02 -03:00 committed by John Mulhausen
parent a6ee7cfefe
commit 958fb121b0
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ and a `docker-compose.yml` file. (You can use either a `.yml` or `.yaml` extensi
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
ADD . /code/ ADD . /code/
This `Dockerfile` starts with a Python 2.7 base image. The base image is This `Dockerfile` starts with a [Python 3 base image](https://hub.docker.com/r/library/python/tags/3/).
modified by adding a new `code` directory. The base image is further modified The base image is modified by adding a new `code` directory. The base image is further modified
by installing the Python requirements defined in the `requirements.txt` file. by installing the Python requirements defined in the `requirements.txt` file.
4. Save and close the `Dockerfile`. 4. Save and close the `Dockerfile`.