From daa7d1ddbbfeb2fcc9103a1652e549ad4e7ee1bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20L=C3=BCthi?= Date: Mon, 12 Feb 2024 12:14:51 +0100 Subject: [PATCH] Fixup cp failing on empty directory --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 1228caee..bf0be9ab 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -9,7 +9,7 @@ echo -n "Fix permissions for mounted volumes ..." && \ echo "done!" # Override public assets in app's public directory. -cp -R $PublicAssetsOverride/* $HOME/wwwroot/ +(cp -R $PublicAssetsOverride/* $HOME/wwwroot/ || true) echo " --------------------------------------------------------------------------