Cannot deploy multi-stage Docker container that integrates Tailscale to Azure App Service

Hi everyone,
I intend to deploy a Docker container to Azure App Service and let that container connect to my Tailscale network. I followed the example from the documentation guide, and built the image.

  • The image runs locally on a macOS Montery version 12.2 Apple M1 chip.
  • I uploaded the image to Dockerhub.

When I try running the app on App service, I get the following error

:( Application Error
If you are the application administrator, you can access the diagnostic resources.

Here’s the Github repo containing the code of the app.