Last active
June 3, 2022 15:58
-
-
Save Andersoft/186bd40e0d7fb6b790059d9a668189fc to your computer and use it in GitHub Desktop.
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 mcr.microsoft.com/dotnet/aspnet:6.0 | |
WORKDIR /app | |
ENV APP_NAME "${project}.dll" | |
EXPOSE 80 | |
EXPOSE 443 | |
COPY --from=publish /app/publish . | |
ENTRYPOINT dotnet "$APP_NAME" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment