mirror of
https://github.com/HabitRPG/habitica.git
synced 2026-05-12 19:54:04 -05: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:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user