Question

Does anyone have a PHP dockerfile?

Posted December 19, 2021 103 views
PHP

Hi.
We need a DockerFile for PHP and have tried for serval days to get it to work, the build always complete but deploying always fails.

Anyone have a solution?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi @mathiasDolphin,

I’ll recommend using the official docker image from here:

https://hub.docker.com/_/php

If this is the one that is failing, what errors are you seeing?