Last active
January 11, 2021 23:42
-
-
Save cinkagan/4f809353524b2ef9f0837bbd6a7ec50d to your computer and use it in GitHub Desktop.
Asp.Net Core Development Dockerfile
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/core/sdk:3.1 | |
ENV DOTNET_USE_POLLING_FILE_WATCHER 1 | |
WORKDIR /app | |
COPY . . | |
ENV ASPNETCORE_URLS http://+:5005 | |
EXPOSE 5005 | |
ENTRYPOINT dotnet watch --project Test.WebAPI/Test.WebAPI.csproj run --urls=http://+:5005 // Watch kullanarak herhangi bir değişiklikte otomatik ayağa kalkmasını sağlıyoruz. | |
// Projeye adını lütfen projenizle değiştirin. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment