mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-17 03:08:51 +00:00
Dockerfile: Modified git clone to only clone with depth 1 (#11350)
So that the not needed git history will not be downloaded into the docker container.
This commit is contained in:
parent
f7dd46864a
commit
f8ad31fbda
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ RUN npm install -g gulp-cli mocha
|
|||
# Clone Habitica repo and install dependencies
|
||||
RUN mkdir -p /usr/src/habitrpg
|
||||
WORKDIR /usr/src/habitrpg
|
||||
RUN git clone --branch release https://github.com/HabitRPG/habitica.git /usr/src/habitrpg
|
||||
RUN git clone --branch release --depth 1 https://github.com/HabitRPG/habitica.git /usr/src/habitrpg
|
||||
RUN npm install
|
||||
RUN gulp build:prod --force
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue