Docker Community Forums

Share and learn in the Docker community.

Building an image for wordpress with nginx

build
docker

(Jkosgei) #1

Hi,

I’m working on creating a wordpress image that uses nginx, I’ve nailed nginx with php-fpm and I’m building from it in the wordpress image, I’m following the official image documentation for wordpress with apache.

I’m stuck at editing the docker-entrypoint.sh file and adapting it to nginx, I’m not at all familiar with bash and I have no idea where to begin. Is there anyone willing to help me adapt the sh script to nginx? That’s all that’s needed to complete this and then we can add it to docker hub for posterity.

Thank you.

The relevant files atm are at https://gist.github.com/jonathan-kosgei/cb3b5af5df98705c46256f70dec7304b. Thanks!