How do you write a Dockerfile for an ASP.NET Core app?

Опубликовано: 03 Февраль 2025
на канале: Round The Code
766
40

Learn how to Dockerize your ASP.NET Core application by writing a Dockerfile.

We'll show you how to restore, build and publish an ASP.NET Core Web API into Docker.

After that, we'll show you how to use the Docker CLI to build and run your application in a Dockerized container.

💻 Download the code example💻
https://www.roundthecode.com/dotnet-c...

► Read the tutorial:
https://www.roundthecode.com/dotnet-t...

🎓 .NET tutorials, code examples and coding challenges 🎓
https://www.roundthecode.com/?utm_sou...

► Chapters
0:00 How to write a Dockerfile
6:07 How to install the Docker CLI
6:43 Build and run your Dockerized app
9:02 Reduce file size
9:15 Create an Azure CI pipeline