From 7de7a23024af2585b9e025d21367df08c90beaeb Mon Sep 17 00:00:00 2001 From: Dima yawaflua <93622229+yawaflua@users.noreply.github.com> Date: Tue, 19 Dec 2023 12:07:08 +0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f1c2656..41de5f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ #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:6.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base WORKDIR /app EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /src COPY ["yaflay.ru.csproj", "."] RUN dotnet restore "./yaflay.ru.csproj"