Heroku makes it easy to deploy an app via Docker. On building a React app, the distribution folder has index.html
, bundle.js
, styles.css
and images folder. Utilities like serve
helps to serve static files from the distribution folder.
Building the Docker image
I am assuming that you are familiar with Docker: image, container and registry. Dockerfile builds a new image.…