A Dockerfile describes step by step what the container should contain. The result is called an image, a ready-made template that can be started as one or more containers. The same image runs in test and in production, so what worked in the test also works live.
Activator.se is built as a Docker image in our pipeline, scanned for vulnerabilities and deployed only after an approval.