Skip to content

Commit

Permalink
Merge pull request #3237 from SEED-platform/fix/git-unsafe-repo
Browse files Browse the repository at this point in the history
Mark /seed as safe
  • Loading branch information
nllong committed May 4, 2022
2 parents 971b185 + 63b40ee commit e4dd3ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ RUN npm install --unsafe-perm
WORKDIR /seed
COPY . /seed/
COPY ./docker/wait-for-it.sh /usr/local/wait-for-it.sh
RUN git config --system --add safe.directory /seed

# nginx configuration - replace the root/default nginx config file
COPY /docker/nginx-seed.conf /etc/nginx/nginx.conf
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ RUN npm install --unsafe-perm
WORKDIR /seed
COPY . /seed/
COPY ./docker/wait-for-it.sh /usr/local/wait-for-it.sh
RUN git config --system --add safe.directory /seed

EXPOSE 80

Expand Down

0 comments on commit e4dd3ea

Please sign in to comment.