From 67d05683d081ba3da7d7fdea75e913bd3f1c9989 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Mon, 6 Dec 2021 00:07:57 +0200 Subject: [PATCH] api dockerfile update for net5.0 --- src/api/NetworkResurrector.Api/Docker/amd64/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/NetworkResurrector.Api/Docker/amd64/Dockerfile b/src/api/NetworkResurrector.Api/Docker/amd64/Dockerfile index 8922bd2..16a8e2f 100644 --- a/src/api/NetworkResurrector.Api/Docker/amd64/Dockerfile +++ b/src/api/NetworkResurrector.Api/Docker/amd64/Dockerfile @@ -1,10 +1,10 @@ #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base +FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base WORKDIR /app EXPOSE 80 -FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build +FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build WORKDIR /src COPY dependencies.props . COPY Directory.Build.props .