There are several ways to install libgdiplus depending on the distribution. If using apt-get, this is the preferred installation script:
sudo apt-get update && apt-get install -y apt-utils
sudo apt-get install -y libfontconfig1
sudo apt-get install -y libgdiplus
We also recommend the installation of Microsoft's fonts:
sudo apt-get update; apt-get install -y ttf-mscorefonts-installer fontconfig
In case the scripts fail, please search online on how to install libgdiplus and microsoft fonts on Linux or MacOS, and contact our support if you have a different solution.
You will need to manually add the Web.Config file to the publish directory. In Linux builds, the purpose of the Web.Config file is to provide the server key and the initial theme.