Building and running the application in Heroku
As we mentioned when the chapter started, our initial objective was to have an easy, automated, and replicable way to deploy the application. In the previous section, we created our container image that will work as a basis for that. The next step is to create the pipeline that builds and deploys our code anytime there's an update. We'll use git
as our source of truth and mechanism to trigger the pipeline builds.
The platform where we'll deploy our code is Heroku. This is a platform that aims to simplify tasks for developers and companies in the deployment process by providing a set of tools that removes common obstacles, such as provisioning machines and setting up big CI infrastructures. By using a platform such as this, we can be more focused on the application and on Deno, which is the purpose of this book.
Here, we'll use the Dockerfile
that we previously created and set it up so that it is deployed and...