Dockerfile for Wordpress?

I have tried a few Dockerfile for wordpress from the internet (Not very experienced with Docker), but have had no success so far. I need a Dockerfile which works on Fly.io. I have a DB on planetscale. Can someone share the Dockerfile or point me to a right resource?

Thanks

Hey,

Given this recent post and lack of response I’m not sure there is one:

I might take a look if nobody beats me to it :thinking:

There is an “official” Docker wordpress image, but I’m not sure what kinds of assumptions it makes.

https://hub.docker.com/_/wordpress

I’m not sure if file persistence might be an issue (losing file-based data between deploys).

Well nobody else has, so I gave it a try :slight_smile:

And it works :rocket: (it’s currently the bare minimum - no file persistence, custom plugins etc).

1 Like