diff --git a/Dockerfile b/Dockerfile index fa019fc02..0b32597e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # the source within the container # ----------------------------------------------------------- -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build # Copy solution and source ARG SOLUTION=Smartstore.sln @@ -26,7 +26,7 @@ RUN dotnet publish Smartstore.Web.csproj -c Release -o /app/release/publish \ --no-restore # Build Docker image -FROM mcr.microsoft.com/dotnet/aspnet:6.0 +FROM mcr.microsoft.com/dotnet/aspnet:7.0 EXPOSE 80 EXPOSE 443 ENV ASPNETCORE_URLS "http://+:80;https://+:443" diff --git a/Nano.Dockerfile b/Nano.Dockerfile index c02cb3f05..09cf03439 100644 --- a/Nano.Dockerfile +++ b/Nano.Dockerfile @@ -4,7 +4,7 @@ # is running Windows containers. # ----------------------------------------------------------- -ARG ASPNET_TAG=6.0 +ARG ASPNET_TAG=7.0 FROM mcr.microsoft.com/dotnet/aspnet:${ASPNET_TAG} EXPOSE 80 diff --git a/NoBuild.Dockerfile b/NoBuild.Dockerfile index 218fefb2e..5b05eaec0 100644 --- a/NoBuild.Dockerfile +++ b/NoBuild.Dockerfile @@ -2,7 +2,7 @@ # Creates a Docker image from an existing build artifact # ----------------------------------------------------------- -ARG ASPNET_TAG=6.0 +ARG ASPNET_TAG=7.0 FROM mcr.microsoft.com/dotnet/aspnet:${ASPNET_TAG} EXPOSE 80