docker-library/wordpress ? reverse-engineered prompt
Reverse engineered prompt
Build me a Docker based WordPress image setup that makes it easy to run WordPress in containers with sensible defaults.
I want the image to start WordPress cleanly, set up the right config automatically, and include a separate CLI way to run WordPress commands when needed. It should support the common image tags people expect, and make it straightforward to update WordPress versions in one place without a lot of manual editing.
Please include the entrypoint scripts, config file, and build templates needed to keep the image working like an official Docker image. Keep the setup simple and reliable, with good defaults for a normal WordPress install, and make sure it’s easy to maintain for future releases. If you need to check the current WordPress Docker image conventions or docs online, go ahead and use those.
Are you gonna build this?
make sure you review the code using arcumet