Advertisement
Guest User

Untitled

a guest
Apr 1st, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster
  2. ARG BUILD_CONFIGURATION=Debug
  3. ENV ASPNETCORE_ENVIRONMENT=Development
  4. ENV DOTNET_USE_POLLING_FILE_WATCHER=true
  5. EXPOSE 80
  6.  
  7. WORKDIR /src
  8. COPY ["Services/Identity/Identity.API/Identity.API.csproj", "Services/Identity/Identity.API/"]
  9. COPY ["BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHost.Customization.csproj", "BuildingBlocks/WebHostCustomization/WebHost.Customization/"]
  10. RUN dotnet restore Services/Identity/Identity.API/Identity.API.csproj -nowarn:msb3202,nu1503
  11. COPY . .
  12. WORKDIR "/src/Services/Identity/Identity.API"
  13. RUN dotnet build --no-restore -c $BUILD_CONFIGURATION
  14.  
  15. ENTRYPOINT ["dotnet", "run", "--no-build", "--no-launch-profile", "-c", "$BUILD_CONFIGURATION", "--"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement