From 9dd2ed6cacca56a87af308d13667635e01190adb Mon Sep 17 00:00:00 2001 From: Murat Cakir Date: Sat, 26 Nov 2022 03:47:02 +0100 Subject: [PATCH] Updated Docker files --- Dockerfile | 4 ++-- Nano.Dockerfile | 2 +- NoBuild.Dockerfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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