© Sathyajith Bhat 2018
Sathyajith BhatPractical Docker with Pythonhttps://doi.org/10.1007/978-1-4842-3784-7_4

4. Understanding the Dockerfile

Sathyajith Bhat1 
(1)
Bangalore, Karnataka, India
 

Now that you have a better understanding of Docker and its associated terminology, let’s convert the project into a Dockerized application. In this chapter, you take a look at a Dockerfile, including its syntax, and learn how to write a sample Dockerfile.

By understanding the Dockerfile, you are working toward the first step in writing a Dockerfile for the project.

Dockerfile

For a traditionally deployed application, building and packaging an application was often quite tedious. With the aim to automate the building and packaging of the application, people turned ...

Get Practical Docker with Python: Build, Release and Distribute your Python App with Docker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.