crafty-4/docker_launcher.sh

10 lines
235 B
Bash
Raw Normal View History

2021-08-26 02:47:56 +00:00
#!/bin/sh
# Check if config exists from existing installation (venv or previous docker launch)
if [ ! "$(ls -A ./app/config)" ]; then
mkdir ./app/config/
2021-08-26 02:47:56 +00:00
cp -r ./app/config_original/* ./app/config/
fi
exec python3 main.py $@