Heads up! The Deno team has now released an official Docker image for us to use in our projects.
Instead of using the hayd/deno base image we can now use the official one at denoland/deno. The first line of our Dockerfile will now look something like:
FROM denoland/deno:alpine-1.17.1
Where 1.17.1 matches the version of Deno that you're using for your project.
Amazing! Now let's find out how to use our Dockerfile!