Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker fatal: Not a git repository (or any of the parent directories): .git

#To change directory in Dockerfile
#Do:

WORKDIR /directory/

#instead of:

RUN cd /directory/

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #docker #Not #git #repository #parent
ADD COMMENT
Topic
Name
6+6 =