April 2018
Beginner to intermediate
300 pages
7h 34m
English
To keep things tidy, let's create an empty directory named Django to host all the files. Inside the Django directory, we need to define the content of a container by creating a Dockerfile using our favorite text editor. A Dockerfile defines the base image of a container as well as the commands that are necessary to compile an image.
We will use Python 3.6.5 as our base image. Please copy the following code to your Dockerfile. A series of additional commands define the working directory and the initiation process:
# The official Python 3.6.5 runtime is used as the base imageFROM python:3.6.5-slim# Disable ...
Read now
Unlock full access