leibylucw / dock-press

A project to Dockerize a WordPress site
0 stars 0 forks source link

Rename exported files/directories #28

Closed leibylucw closed 1 month ago

leibylucw commented 1 month ago

The WordPress image build process currently requires that the uploads, plugins, and themes directories in wp-content exist so it can copy/mount their contents to the WordPress container. When the container's versions of these contents are exported, they overwrite the local filesystem's copies. They should either be renamed and made obvious they are the container's copies, or moved to a directory whose name conveys this fact.