update nuget package and adapt dockerfile to .net 6 (#639)

This commit is contained in:
Cédric Michel authored and GitHub committed 2021-12-01 12:53:35 -05:00
1 parent 6f5a6c0860
commit 13fed892ee
6 files changed
+23 -7

No files matched your search

+2 -2
View File
@@ -1,11 +1,11 @@
#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/aspnet:5.0-buster-slim AS base
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /app
COPY . .
#COPY ["src/PublicApi/PublicApi.csproj", "./PublicApi/"]