Default timezone not set

When running the website from a docker container, at the bottom there is an error message about not setting the default timezone.

I tried setting it in php, however, it only works in the footer.php partial and still throws the error on form submission. I need to figure out how to create and add a php.ini file to the docker container.

https://stackoverflow.com/questions/16765158/date-it-is-not-safe-to-rely-on-the-systems-timezone-settings