We are using CodeEffects Rules Engine with Angular Implementation and trying to dockerize the application. But the build is throwing an exception; need help from this group in resolving the error.
Below is my docker script and also attaching the error screenshot for reference
NOTE: Application works fine without docker in local.
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env
RUN apt-get update && \
apt-get install -y wget && \
apt-get install -y gnupg2 && \
wget -qO- https://deb.nodesource.com/setup_12.x | bash - && \
apt-get install -y build-essential nodejs
WORKDIR /app
# Copy csproj and restore as distinct layers
COPY *.csproj ./
RUN dotnet restore
# Copy everything else and build
COPY . ./
RUN dotnet publish -c Release -o out
# Build runtime image
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1
WORKDIR /app
COPY --from=build-env /app/out .
ENTRYPOINT ["dotnet", "CodeEffects.Rule.Angular.Demo.dll"]