You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In such example this line should be changed to following:
./src:/var/www/html/wp-content/themes/theme-foo
As a result in your wordpress directory inside docker container /var/www/html/wp-content/themes/theme-foo will contain style.css (key file for Wordpress to understand this is theme) and other theme files. Stuff outside src won't be mounted and visible to Wordpress (good place to put some docs, build scripts etc.).
Alternatively if you want to keep everything at the project root the line from docker-compose.yml should be following: .:/var/www/html/wp-content/themes/theme-foo
But frankly speaking this feels wrong to me as it will mount all dockerpresso related files to Wordpress so I didn't test it.
I hope that helps, let me know. I will try to include more examples and details in the docs.
It isn't clear in the documentation what to put in here:
./example-theme-src:/var/www/html/wp-content/themes/example-theme
Can you please clarify what the purpose of this line is in the build process, and how it should be customized?
Thanks in advance!
The text was updated successfully, but these errors were encountered: