migrate into net6.0
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
772525a9b6
commit
8467200774
|
|
@ -1,11 +1,11 @@
|
||||||
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
|
#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 AS base
|
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
EXPOSE 443
|
EXPOSE 443
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ["2021-backend.csproj", ""]
|
COPY ["2021-backend.csproj", ""]
|
||||||
RUN dotnet restore "./2021-backend.csproj"
|
RUN dotnet restore "./2021-backend.csproj"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue