Created
January 8, 2020 11:51
-
-
Save 0x414c49/81a4ed9652f6a5362e0127e58bf4d951 to your computer and use it in GitHub Desktop.
ASPNET Core on Alpine with minimum requirements
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 alpine:3.9.4 | |
# Add some libs required by .NET runtime | |
RUN apk add --no-cache libstdc++ libintl | |
EXPOSE 80 | |
EXPOSE 443 | |
# Copy | |
WORKDIR /app | |
COPY ./publish ./ | |
ENTRYPOINT ["./MyWebApp", "--urls", "http://0.0.0.0:80"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment