Open Closed

Cannot upload application logo after deployed to docker #10576

dzungle created

Hello Support team,

We are using ANZ version 10.4 (ASP.NET CORE & Angular). We use the default theme and disable multitennant. Everything works fine in development invironment. But after we deployed the app (separate solutions for core & angular) to Docker. We face the UI issue. We cannot upload Application logo. The error we got is below:

Could you please help us solve this issue?

Best Regards

1 Answer(s)
  • 0
    gterdem created
    Support Team

    Share the backend logs please.

    It is probably related with libgdiplus which is not a part of .net core runtime docker image. Just add it inside docker build process:

    FROM base AS final
    WORKDIR /app
    COPY --from=publish /app .
    RUN apt-get update && apt-get install -y apt-utils libgdiplus libc6-dev
    ENTRYPOINT ["dotnet", "MyApplication.dll"]

    Or you can check related asked question in stackoverflow:

    Also related issues: