surtur
3f775a110b
All checks were successful
continuous-integration/drone/push Build is passing
* this fixes occasional situation when NuGets have not been restored yet but the clean build already running required them, which resulted a failed build
15 lines
306 B
Docker
15 lines
306 B
Docker
FROM mcr.microsoft.com/dotnet/core/sdk:2.1-alpine
|
|
|
|
COPY . /src
|
|
WORKDIR /src
|
|
|
|
RUN dotnet --version && dotnet --info
|
|
RUN dotnet restore
|
|
RUN dotnet clean
|
|
|
|
RUN dotnet build -c Debug
|
|
|
|
ENV ASPNETCORE_ENVIRONMENT=Development
|
|
|
|
ENTRYPOINT ["dotnet", "watch", "run", "--no-restore", "--urls", "http://0.0.0.0:5000"]
|