Created
May 18, 2019 12:10
-
-
Save xximjasonxx/8e4cf82c85e3aa1f3c21e52d0262ee2b 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 mcr.microsoft.com/dotnet/core/sdk:2.2.203 as build | |
WORKDIR /code | |
COPY . . | |
RUN dotnet restore | |
RUN dotnet publish -o output -c Release | |
FROM mcr.microsoft.com/dotnet/core/runtime:2.2 as runtime | |
WORKDIR /app | |
COPY --from=build /code/output ./ | |
ENTRYPOINT [ "dotnet", "PriceGenerator.dll", "Cluster" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment