socialtree/dev/shell/entrypoint.sh

9 lines
237 B
Bash
Raw Normal View History

2022-10-28 13:39:35 +01:00
#!/bin/sh
if [[ ! -d "/app/assets/config" ]] && [[ ! -d "/app/assets/img" ]]; then
echo "No config found, installing default files"
mkdir /app/assets
2022-11-07 09:44:16 +00:00
cp -R /assets/* /app/assets
2022-10-28 13:39:35 +01:00
fi
echo "Starting node application"
yarn start