Skip to content

Instantly share code, notes, and snippets.

@gistlyn
Last active January 17, 2020 22:44
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 gistlyn/54fbb66fa39740ad1c865a59b5ed2e31 to your computer and use it in GitHub Desktop.
Save gistlyn/54fbb66fa39740ad1c865a59b5ed2e31 to your computer and use it in GitHub Desktop.
Dockerfile example for .NET Core Web Apps
FROM microsoft/dotnet:2.1-aspnetcore-runtime
COPY app /app
WORKDIR /app
EXPOSE 5000/tcp
ENV ASPNETCORE_URLS https://*:5000
ENTRYPOINT ["x"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment