What Is a Dockerfile? A Quick Overviewby@shelley

What Is a Dockerfile? A Quick Overview

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

A Dockerfile is similar to a batch script that contains all the commands to build a [Docker image] The first line states the base image to begin with and then follow the instructions to install required modules, copy files, and deploy the code. All instructions are executed in order so you have to be careful to add your run instructions in the exact order they should be run. In this example, we are installing the required system-wide dependencies for Python and node.
featured image - What Is a Dockerfile? A Quick Overview
Shelley Benhoff HackerNoon profile picture

@shelley

Shelley Benhoff

Author, @TiarasAndTech Podcast Host, Co-Owner @HoffsTech, Sitecore MVP, @Docker Community Leader


Receive Stories from @shelley


Credibility

react to story with heart
Shelley Benhoff HackerNoon profile picture
by Shelley Benhoff @shelley.Author, @TiarasAndTech Podcast Host, Co-Owner @HoffsTech, Sitecore MVP, @Docker Community Leader
Read My Stories

RELATED STORIES

L O A D I N G
. . . comments & more!