Now that our application is up and running, let's containerize it, so we can push our image to anyone. Containers such as Docker help us to package an entire application including the libraries, dependencies, environment, and anything else needed by the application to run. Containers are helpful as they isolate the application from the infrastructure so we can easily run it on different platforms without the need to worry about the system on which we are running.
Our objectives are as follows:
- Spin up a working version of our product catalog microservice, Mongo microservice, just by running docker-compose up
- The Docker workflow should be what we are using the Node.js workflow that includes transpiling, and serving the dist folder ...