From d5afe100127bd9c3c500cfce409a418c86712b8e Mon Sep 17 00:00:00 2001 From: witskeeper Date: Fri, 27 Sep 2024 16:53:44 +0800 Subject: [PATCH] fix Dockerfile --- test/NetCorePal.Web/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/NetCorePal.Web/Dockerfile b/test/NetCorePal.Web/Dockerfile index 1ac75046..2ef192ea 100644 --- a/test/NetCorePal.Web/Dockerfile +++ b/test/NetCorePal.Web/Dockerfile @@ -1,12 +1,12 @@ #See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/aspnet:8.0-preview AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base USER app WORKDIR /app EXPOSE 8080 EXPOSE 8081 -FROM mcr.microsoft.com/dotnet/sdk:8.0-preview AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build WORKDIR /src COPY ["Directory.Build.props", "."] COPY ["NuGet.config", "."]