really related? why do you have .gitignore file in strapi directory? because i have the same issue and do not have .gitignore file in the server.