New install can't find javascript

In order to test some plugins and themes with a new version of PHP I’m trying to get a local version of Omeka running using Docker.

The install process seems good and I get the " Success! Omeka is installed." message, but when I try to visit either the admin or the public site I get "InvalidArgumentException: Could not find file " messages, always for scripts in “javascripts/vendor/”.

I’m guessing these are supposed to be loaded from application/views/scripts/javascripts/vendor (I can see the relevant files there), but for some reason PHP can’t find them there. I’m not sure what to do next!

If the files are there then it’s probably a question of permissions (are the files readable by the PHP process), or possibly PHP settings (something like the open_basedir setting could cause this kind of problem).

I’m not aware of any Docker- or container-specific issue in this area.

Mystery solved! The docker init command had created a default .dockerignore file which included the pattern **/vendor. As a result those files were visible on my host machine but were never copied to the image. Removing that line solved the problem.