fix(Docker): include failsafe for Git HTTPS

This commit is contained in:
Sabe Jones 2022-05-06 17:26:48 -05:00 committed by GitHub
parent d6bd10fa25
commit 9de6f7b3bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,7 @@ RUN npm install -g gulp-cli mocha
RUN mkdir -p /usr/src/habitrpg
WORKDIR /usr/src/habitrpg
RUN git clone --branch release --depth 1 https://github.com/HabitRPG/habitica.git /usr/src/habitrpg
RUN git config --global url."https://".insteadOf git://
RUN npm set unsafe-perm true
RUN npm install