You have no items in your shopping cart.

How to configure PDF Invoice Generator on Linux (Docker)

Do you use Linux?
You should install libraries.

Dockerfile file for Debian

# Base image with ASP.NET Core 9 runtime
FROM mcr.microsoft.com/dotnet/aspnet:9.0

# Install wkhtmltox system dependencies for PDF Invoice plugin
RUN apt-get update && apt-get install -y \
    libx11-6 \
    libfontconfig1 \
    libxrender1 \
    libxext6 \
    libfreetype6 \
    libssl3 \
    zlib1g \
    libjpeg62-turbo \
    libpng16-16 \
    ca-certificates \
    fonts-liberation \
    && rm -rf /var/lib/apt/lists/*

# Set working directory inside container
WORKDIR /app

# Copy nopCommerce published files
COPY . /app

# Expose port used by nopCommerce
EXPOSE 8080

# Start nopCommerce
ENTRYPOINT ["dotnet", "Nop.Web.dll"]


Please note that some LInux could use libjpeg-turbo8 insteaf of libjpeg62-turbo

Powered by nopCommerce

Copyright © 2025 FoxNetSoft. All rights reserved.