This repository has been archived on 2023-10-28. You can view files and clone it, but cannot push or open issues or pull requests.
2020-11-26 02:23:50 +01:00
|
|
|
FROM mcr.microsoft.com/dotnet/core/sdk:2.1-alpine
|
|
|
|
WORKDIR /src
|
|
|
|
|
2020-12-05 22:28:19 +01:00
|
|
|
COPY *.csproj ./
|
2020-11-27 13:06:05 +01:00
|
|
|
RUN dotnet restore
|
2020-11-26 02:23:50 +01:00
|
|
|
|
2020-12-05 22:28:19 +01:00
|
|
|
COPY . ./
|
2020-11-26 02:23:50 +01:00
|
|
|
RUN dotnet build -c Debug
|
|
|
|
|
|
|
|
ENV ASPNETCORE_ENVIRONMENT=Development
|
|
|
|
|
|
|
|
ENTRYPOINT ["dotnet", "watch", "run", "--no-restore", "--urls", "http://0.0.0.0:5000"]
|