# syntax=docker/dockerfile:1 FROM /dotnet/sdk:5.0 AS build-env WORKDIR /app # Copy csproj and restore as distinct layers COPY *.csproj. The Dockerfile to use the DLL file of your project. Linux containers depending on what mode is set in The tags below are multi-arch meaning they pull either Windows or Create a Dockerfile for an ASP.NET Core application Method 1: Simple tutorial to initialize a project orĬlone our ASP.NET Docker Sample. If you are new to ASP.NET you can follow a This example assumes you already have an ASP.NET Core app
Designed to provide an optimized development framework for apps that are.Great for modern cloud-based apps, such as web apps, IoT apps, and mobile.Develop and run your ASP.NET Core apps cross-platform on Windows, MacOS, and.This example demonstrates how to dockerize an ASP.NET Core application. Estimated reading time: 4 minutes Introduction