Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit ed3f3c8

Browse files
committed
Move to .NET 6 to support ARM
1 parent 8df06be commit ed3f3c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

AspNetCoreMvc/AspNetCoreMvc.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
66
</PropertyGroup>
77

AspNetCoreMvc/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
22

3-
FROM mcr.microsoft.com/dotnet/aspnet:3.1 AS base
3+
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
44
WORKDIR /app
55
EXPOSE 80
66

7-
FROM mcr.microsoft.com/dotnet/sdk:3.1 AS build
7+
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
88
WORKDIR /src
99
COPY ["AspNetCoreMvc/AspNetCoreMvc.csproj", "AspNetCoreMvc/"]
1010
RUN dotnet restore "AspNetCoreMvc/AspNetCoreMvc.csproj"

0 commit comments

Comments
 (0)