Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "Unable to load DLL 'activeds.dll' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
- UserPrincipal oUserPrincipal = UserPrincipal.FindByIdentity(oPrincipalContext, sUserName);
- FROM mcr.microsoft.com/dotnet/core/sdk AS base
- WORKDIR /app
- EXPOSE 80
- EXPOSE 443
- EXPOSE 383
- EXPOSE 636
- FROM mcr.microsoft.com/dotnet/core/sdk AS build
- WORKDIR /src
- COPY ["USITWebApi/USITWebApi.csproj", "USITWebApi/"]
- RUN dotnet restore "USITWebApi/USITWebApi.csproj"
- COPY . .
- WORKDIR "/src/USITWebApi"
- RUN dotnet build "USITWebApi.csproj" -c Release -o /app
- FROM build AS publish
- RUN dotnet publish "USITWebApi.csproj" -c Release -o /app
- FROM base AS final
- WORKDIR /app
- COPY --from=publish /app .
- ENTRYPOINT ["dotnet", "USITWebApi.dll"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement