crafty-4/docker_launcher.sh
2021-08-26 03:47:56 +01:00

9 lines
211 B
Bash

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