Add chmod to rsync to keep directories writable
This commit is contained in:
@@ -64,8 +64,8 @@ let
|
||||
$src/docker-compose.yml > $TMPDIR/docker-compose.yml
|
||||
fi
|
||||
|
||||
# Copy all application files using rsync, excluding files we'll provide separately
|
||||
${pkgs.rsync}/bin/rsync -av --exclude='.git' --exclude='docker-compose.yml' --exclude='.env' --exclude='management-dashboard-web-app/.env' $src/ $out/opt/usda-vision/
|
||||
# Copy all application files using rsync with chmod, excluding files we'll provide separately
|
||||
${pkgs.rsync}/bin/rsync -av --chmod=Du+w --exclude='.git' --exclude='docker-compose.yml' --exclude='.env' --exclude='management-dashboard-web-app/.env' $src/ $out/opt/usda-vision/
|
||||
|
||||
# Copy the processed docker-compose.yml
|
||||
if [ -f $TMPDIR/docker-compose.yml ]; then
|
||||
|
||||
Reference in New Issue
Block a user