If you get a message like the following:
W: The mount '/example' has a path that overlaps with a non-empty folder.
The content of the non-empty folder either comes from:
- your git repository (you may have accidentally committed files).
- or from the build hook.
Please be aware that this content isn't accessible at runtime.
That means that:
- There's a mount with the same name as a directory committed to Git.
- A directory was created during build whose name conflicts with an already existing one.
To resolve this issue, follow the steps outlined in the overlapping folders section, here:
https://docs.platform.sh/create-apps/troubleshoot-mounts.html#overlapping-folders