Skip to content

Instantly share code, notes, and snippets.

@xximjasonxx
Created May 18, 2019 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xximjasonxx/8e4cf82c85e3aa1f3c21e52d0262ee2b to your computer and use it in GitHub Desktop.
Save xximjasonxx/8e4cf82c85e3aa1f3c21e52d0262ee2b to your computer and use it in GitHub Desktop.
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