.NET Technology Show

Backstage pass to all things ServiceStack & .NET

Listen

Docker Containerization in .NET 8

Checking out the new .NET 8 Docker Container support and GitHub Actions Deployments in new Project Templates


This episode outlines how to containerize .NET 8 applications using Docker and deploy them securely to a Linux server via GitHub Actions.

It begins by explaining the benefits and features of containerization with .NET 8 and GitHub Actions, then provides a step-by-step guide to setting up the deployment infrastructure, including the installation of Docker and Docker-Compose, SSH key generation, and the configuration of an Nginx reverse proxy.

The guide concludes with a detailed breakdown of the GitHub Actions workflow and its components, including the permissions required, the different jobs involved, and the triggers that activate the deployment process.

Videos