Skip to content

celerative/wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress Image


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

How to use

In order to use this image, you need to follow some conventions:

  1. 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.

  1. You need to have the following structure:
src/
-- themes/
-- plugins/
Dockerfile
...

Customizing php.ini

You can replace our php.ini file.

FROM celerative/wordpress

...

COPY uploads.ini /usr/local/etc/php/conf.d/uploads.ini

...

Releases

No releases published

Packages

No packages published

Languages