socialtree/dev/shell/entrypoint.sh

8 lines
215 B
Bash
Raw Permalink 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"
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