CodeMazeBlog/create-pdf-with-netcore

Linux Docker not supported

yogeshnagarro opened this issue · 1 comments

This solution not create PDF file on Linux Docker container.

Add to your dockerfile

RUN apt-get update -qq && apt-get -y install libgdiplus libc6-dev

like this

FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
WORKDIR /app
RUN apt-get update -qq && apt-get -y install libgdiplus libc6-dev
EXPOSE 80
EXPOSE 443
...