aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
index 30ac95e..4f089d0 100755
--- a/docker/entrypoint.sh
+++ b/docker/entrypoint.sh
@@ -24,7 +24,7 @@ elif [[ -z "${APP_KEY}" ]]; then
24 echo "**** Generating Ferdi-server app key for first run ****" 24 echo "**** Generating Ferdi-server app key for first run ****"
25 adonis key:generate 25 adonis key:generate
26 APP_KEY=$(grep APP_KEY .env | cut -d '=' -f2) 26 APP_KEY=$(grep APP_KEY .env | cut -d '=' -f2)
27 echo $APP_KEY > /app/data/FERDI_APP_KEY.txt 27 echo "${APP_KEY}" > "${DATA_DIR}/FERDI_APP_KEY.txt"
28 echo "**** App Key set to $APP_KEY you can modify FERDI_APP_KEY.txt to update your key ****" 28 echo "**** App Key set to $APP_KEY you can modify FERDI_APP_KEY.txt to update your key ****"
29fi 29fi
30 30