#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
WORKDIR /app
RUN apt-get update &&
apt-get install wget &&
apt-get install yum &&
yum update &&
yum install libgdiplus-devel -y &&
ln -s /usr/lib64/libgdiplus.so /usr/lib/gdiplus.dll &&
ln -s /usr/lib64/libgdiplus.so /usr/lib64/gdiplus.dll
EXPOSE 80
EXPOSE 443
WORKDIR /app
COPY . /app
ENTRYPOINT ["dotnet", "TFCMS.dll"]