🐛 Copy default.json if it doesn't exist (#1636)

This commit is contained in:
Thomas Camlong
2023-11-14 20:31:39 +01:00
committed by GitHub
parent c6b945775a
commit c9d1a12299

View File

@@ -8,6 +8,9 @@ cd ./migrate; yarn db:migrate & PID=$!
# Wait for migration to finish
wait $PID
## If 'default.json' does not exist in '/app/data/configs', we copy it from '/app/data/default.json'
cp -n /app/data/default.json /app/data/configs/default.json
echo "Starting production server..."
node /app/server.js & PID=$!