You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
276 B
12 lines
276 B
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
|
|
WORKDIR /app
|
|
|
|
WORKDIR /src
|
|
COPY . .
|
|
RUN dotnet restore
|
|
RUN dotnet publish -c Release -o publish
|
|
|
|
FROM mcr.microsoft.com/dotnet/aspnet:6.0
|
|
WORKDIR /app
|
|
COPY --from=build /src/publish ./
|
|
ENTRYPOINT ["dotnet", "AuthServer.Host.dll"]
|