This is for development, I'm mounting a volume and using the DEVELOP option for plone-backend
The command looks like this:
docker run -p 8080:8080 -e SITE="Plone" -e DEVELOP="/app/src/site.content
/app/src/txbizlaw.profile" -e ADDONS="collective.easyform collective.exportimport" -e TYPE="classic" -e PROFILES="site.profile:default collective.easyform:default" -v $(pwd)/src:/app/src -v
$(pwd)/var/import:/app/import plone/plone-backend:6.0.0a6
My site.content
includes xml models for the content.
While it works on one machine, the docker command fails when Plone/LXML tries to parse one of the xml models.
plone.supermodel.parser.SupermodelParseError: Error reading file
'/app/src/site.content/src/site/content/content/blog_post.xml': failed to load external entity
"/app/src/site.content/src/site/content/content/blog_post.xml"
Both machines are using plone/plone-backend 6.0.0a6
plone/plone-backend 6.0.0a6 ec367d693c66
same hash and yet one gives the error above and other does not.