Dockerizing an application

Containers are made up of images. Images contain your project and it's dependencies.

  • Add a Dockerfile to the start project. The Dockerfile should do the following...

    • Include a base Node image

    • Copy all the project files into the image

    • Run an npm install

    • Expose port 3000

    • Run npm start

  • Build the image

Last updated