Volume not preserving files correctly

Interesting. I wonder if the contents of /data in docker ends up truncating / hiding contents on volume mounted at /data? See:

In which case, you may have to dockerignore data/ altogether?