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.
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.