Configuring a Production Environment

Few preliminaries to look after

Ever heard the culinary term mise en place? Translated literally, it means everything in its place and it refers to the prep work done before actually starting to cook.

Similarly, eager as we are to see our app running in production, there are a few preliminaries to take care of first.

In this chapter, we will:

  • lay the groundwork for deploying to production, starting with how to configure different environments in a Docker-centric world;

  • precompile our assets and bake them into our image, ready to be served up in production;

  • learn how to share our custom images to make them available for use beyond our local machine.

Chopping board and peeler at the ready? Let’s get to it.

Get hands-on with 1200+ tech skills courses.