Last active
January 17, 2020 22:44
-
-
Save gistlyn/54fbb66fa39740ad1c865a59b5ed2e31 to your computer and use it in GitHub Desktop.
Dockerfile example for .NET Core Web Apps
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 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