socialtree/dev/shell/entrypoint.sh

8 lines
214 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"
cp -R /assets/ /app/assets
fi
echo "Starting node application"
yarn start