From edefdfae2f151dcc2618a41794cbfb76384a7bba Mon Sep 17 00:00:00 2001 From: winkidney Date: Sat, 21 Dec 2019 17:03:50 +0800 Subject: [PATCH] Fix: Use cp instead of ln to avoid reading error caused by permission --- docker/scripts/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/scripts/bootstrap.sh b/docker/scripts/bootstrap.sh index 9c08299..b49a2d8 100755 --- a/docker/scripts/bootstrap.sh +++ b/docker/scripts/bootstrap.sh @@ -27,4 +27,4 @@ then sed -i "s/secret\_key\_place\_holder/${SECRET_KEY}/" "${local_settings_file}" fi -ln -s "${local_settings_file}" "/pinry/pinry/settings/local_settings.py" \ No newline at end of file +cp "${local_settings_file}" "/pinry/pinry/settings/local_settings.py"