If you have an application acting as something like a backend REST service, you most likely want to put it into a Docker container for easy deployment.
There are two approaches to building your application: Outside the Dockerfile (with CI/CD like Github Actions) and inside using a builder image.
...