block-scaffolding-wp
block-scaffolding-wp copied to clipboard
Fix media upload
Currently you cannot upload media to the container.
This has been fixed in #25 by mapping /var/www/html/wp-content
to the named volume instead of the site root /var/www/html
:
https://github.com/xwp/block-scaffolding-wp/blob/6663d056d5c3a6eda04bd32ce4cbf5b351696a90/docker-compose.yml#L24
See this blog post for why that solves this known problem with the standard WP image.
@kasparsd did you confirm this was working. I am not able to upload.