block-scaffolding-wp icon indicating copy to clipboard operation
block-scaffolding-wp copied to clipboard

Fix media upload

Open derekherman opened this issue 5 years ago • 2 comments

Currently you cannot upload media to the container.

derekherman avatar Dec 10 '19 12:12 derekherman

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 avatar Dec 10 '19 14:12 kasparsd

@kasparsd did you confirm this was working. I am not able to upload.

derekherman avatar Dec 12 '19 22:12 derekherman