Skip to content

Instantly share code, notes, and snippets.

@mocon
mocon / dockerfile_basics.md
Last active October 13, 2017 18:34
Dockerfile basics

Node.js on Docker

Dockerfile basics

A Dockerfile is a simple set of instructions that describe how to run an application on a specific operating system (such as Ubuntu). The Dockerfile allows you to package up the following items into a self-contained package called a container:

  • A base image of the preferred operating system (using FROM)
  • Your application code
  • Dependencies
  • Other files