I tried the following command in my Dockerfile: COPY * / and got mighty surprised at the result. Seems the naive docker code traverses the directories from the glob
COPY * /
Replace the * with a /
So instead of
COPY *
use
COPY /