sdnext_docker/app/entrypoint.sh
2024-10-26 19:22:08 +02:00

19 lines
407 B
Bash

#!/bin/bash
# If a file named "pre_run.sh" exists, run it
if [ -f "pre_run.sh" ]; then
./pre_run.sh
fi
# If no folder named automatic, clone the repository
if [ ! -d "automatic_repo" ]; then
git clone https://github.com/vladmandic/automatic automatic_repo
cd automatic_repo
else
cd automatic_repo
git pull
fi
#pip install -r requirements.txt
bash webui.sh --debug --insecure --listen