Building an image for wordpress with nginx


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 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 Thanks!