The problem encountered with the pdf is not yet solve so I tried changing the dompdf library to wkhtmltopdf. We are still developing the app using this library. The process tooks long due to the reviewing of the documentation, installation of the library and checking if there is any available installaer for linux as gcp is based on linux terminal.