Created
March 13, 2020 10:50
-
-
Save radutta/7e2b06c2d4998f3819a65aae9fbf6c52 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 mcr.microsoft.com/dotnet/core/sdk:2.2-alpine AS build | |
WORKDIR /app | |
COPY *.csproj ./ | |
RUN dotnet restore | |
COPY . . | |
# RUN dotnet --version | |
RUN dotnet publish --configuration Release --output out | |
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-alpine as stage | |
WORKDIR /app | |
COPY --from=build /app/out . | |
ENTRYPOINT ["dotnet", "PartyInvite.dll"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment