Skip to content

Having problems when using the latest wordpress docker image #10

@kyleaquino

Description

@kyleaquino

Recently been using render.com as the main cloud hosting platform for the company I'm currently working in. We liked render so much and we're now migrating our wordpress landing websites to render. We followed the one click deploy as defined in render's documentation: https://render.com/docs/deploy-wordpress. It deployed smoothly however we need to tweak some of the parts in the Dockerfile most specifcally the wordpress docker image version being used in the template. The current version used is wordpress:5.3.2-apache which a bit old and prone for security concerns. We forked this repository and updated the said dockerfile: https://github.com/kyleaquino/render-wordpress

Now the issue we tried using the latest image wordpress:6.2.0-apache and synced it to our render account. When it attempted to deploy and run the latest image it gives us a 403 Forbidden Error caused by wordpress not being found in /var/www/html directory. we tried different approaches like injecting a wordpress tarball folder into the /var/www/html directory but still gives the same problem.

One bruteforce way we do it is to deploy the original template with the older wordpress image. then update the dockerfile to the latest wordpress version and redeploy.

Is there a better way to do this? Right now we have to constantly change the docker file when deploying new instances of the wordpress server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions