FROM mono:6.12 WORKDIR /build RUN cert-sync /etc/ssl/certs/ca-certificates.crt COPY LicenseGenerator.csproj ./ RUN nuget restore LicenseGenerator.csproj -NonInteractive 2>/dev/null || true COPY . . RUN msbuild LicenseGenerator.csproj /p:Configuration=Release /p:Platform=AnyCPU /v:minimal /nologo CMD mono bin/Release/LicenseGenerator.exe keygen