Skip to content

Commit

Permalink
Fix ownership warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ggodlewski committed Dec 13, 2024
1 parent a9febc9 commit cde32cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ WORKDIR "/usr/src/app"
# Add the GIT_SSH_COMMAND to /etc/profile so that we can debug git issues from the command line
RUN echo 'export GIT_SSH_COMMAND="ssh -i \$(pwd | sed s/_transform.*//)/.private/id_rsa"' >> /etc/profile

# Git 2.47:
RUN apk upgrade git --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main
RUN git config --global --add safe.directory /srv/wikigdrive/*

CMD [ "sh", "-c", "wikigdrive --workdir /data server 3000" ]

0 comments on commit cde32cc

Please sign in to comment.