Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. "Unable to load DLL 'activeds.dll' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
  2.  
  3. UserPrincipal oUserPrincipal = UserPrincipal.FindByIdentity(oPrincipalContext, sUserName);
  4.  
  5. FROM mcr.microsoft.com/dotnet/core/sdk AS base
  6. WORKDIR /app
  7. EXPOSE 80
  8. EXPOSE 443
  9. EXPOSE 383
  10. EXPOSE 636
  11.  
  12. FROM mcr.microsoft.com/dotnet/core/sdk AS build
  13. WORKDIR /src
  14. COPY ["USITWebApi/USITWebApi.csproj", "USITWebApi/"]
  15. RUN dotnet restore "USITWebApi/USITWebApi.csproj"
  16. COPY . .
  17. WORKDIR "/src/USITWebApi"
  18. RUN dotnet build "USITWebApi.csproj" -c Release -o /app
  19.  
  20. FROM build AS publish
  21. RUN dotnet publish "USITWebApi.csproj" -c Release -o /app
  22.  
  23. FROM base AS final
  24. WORKDIR /app
  25. COPY --from=publish /app .
  26. ENTRYPOINT ["dotnet", "USITWebApi.dll"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement