Root files in my repository not copied to the Raspberry Pi

For a strange reason, the root files in my GIT repository (Dockerfile.template, start.sh, …) do not appear in the directory /usr/src/app of my Raspberry Pi after Resin update. However, my app directory is present. It worked the first 5 times and do not work anymore now. Any idea?

Hi, it depends on how’s your Dockerfile.template is set up. Where do you set the WORKDIR /usr/src/app setting? Can you share your project source maybe?

Personally I put WORKDIR as the second command right after FROM. Otherwise just checking whether I’ve checked the files into git, did the relevant COPY steps, and didn’t accidentally include required things in .dockerignore.

Thanks for your help, indeed I had make a mistake in my COPY steps!