Docker image failes to copy `.git` directory
I wonder what am I doing wrong, as it seems like a trivial thing - copying a git directory onto the machine but it fails at this step.
Here is the entire Docker file
https://github.com/with-labs/popspace/blob/main/Dockerfile
GitHub
popspace/Dockerfile at main · with-labs/popspace
Comprehensive source for PopSpace, virtual spaces for everybody - with-labs/popspace
Solution:Jump to solution
it not being there is likely a good indicator that you probably don't want to copy it in
6 Replies
Project ID:
ddffb5fd-75d2-46a7-a72d-fa700071e8dc
why would you want to copy the .git directory?
that's actually a good question, I was trying to deploy this thing and I am not much of a docker user
Solution
it not being there is likely a good indicator that you probably don't want to copy it in
and indeed, removing it removed the trouble.. 🙂
thank you @Brody !
no problem!