This image contains NGINX and PHP 7.1 (FPM) services and, of course, the latest version of wordpress.
The root path is /var/www/html/public
In order to use this image, you need to follow some conventions:
- You have to create your Dockerfile and set this image as the base image. Like this:
FROM celerative/wordpress
# ...
It is needed because we are using ONBUILD
instructions. You can see that on own Dockerfile
.
If you have not familiar with ONBUILD
instruction, check the ONBUILD Docs.
- You need to have the following structure:
src/
-- themes/
-- plugins/
Dockerfile
...
You can replace our php.ini
file.
FROM celerative/wordpress
...
COPY uploads.ini /usr/local/etc/php/conf.d/uploads.ini
...