Skip to content

Instantly share code, notes, and snippets.

@programatt
Created July 8, 2016 21:27
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 programatt/ba6c4d652391b2093078ebd25446b793 to your computer and use it in GitHub Desktop.
Save programatt/ba6c4d652391b2093078ebd25446b793 to your computer and use it in GitHub Desktop.
FROM microsoft/dotnet:1.0.0-preview2-sdk
COPY . /dotnetapp
WORKDIR /dotnetapp
RUN dotnet restore -v Verbose
RUN dotnet build
EXPOSE 5000/tcp
CMD ["dotnet","run","--server.urls=http://0.0.0.0:5000"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment