Created
December 18, 2018 06:41
-
-
Save fredrkl/937ef35024cea5ba083f4081f64a00f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM microsoft/dotnet:2.0.3-sdk AS build | |
LABEL maintainer="themaintainer@themaintainer.com" | |
WORKDIR /app | |
COPY . . | |
RUN dotnet restore ./IdentityServer.csproj \ | |
&& dotnet publish ./IdentityServer.csproj -o ./out -c Release | |
FROM microsoft/aspnetcore:2.0.5 | |
WORKDIR /app | |
COPY --from=build /app/out . | |
EXPOSE 80 | |
ENTRYPOINT ["dotnet", "IdentityServer.dll"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment