Skip to content

Commit b0ff959

Browse files
authored
Shallow clone recipes to speed up setup (#158)
fix: shallow clone recipes to speed up setup #157
1 parent 1572e87 commit b0ff959

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ NODE_ENV=development
2525
if [ ! -d "/app/recipes/.git" ]; # When we mount an existing volume (ferdium-recipes-vol:/app/recipes) if this is only /app/recipes it is always true
2626
then
2727
echo '**** Generating recipes for first run ****'
28-
git clone --branch main https://github.com/ferdium/ferdium-recipes recipes
28+
git clone --depth 1 --branch main https://github.com/ferdium/ferdium-recipes recipes
2929
else
3030
echo '**** Updating recipes ****'
3131
chown -R root /app/recipes # Fixes ownership problem when doing git pull -r

0 commit comments

Comments
 (0)