Merge branch 'server/update-yt-dlp-at-start' into maint
This commit is contained in:
commit
4fbb0a3e47
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
|||
set -e
|
||||
cd /opt/app
|
||||
|
||||
mkdir -p /opt/app/bin
|
||||
wget -O /opt/app/bin/yt-dlp https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp
|
||||
chmod +x /opt/app/bin/yt-dlp
|
||||
export PATH=/opt/app/bin:$PATH
|
||||
|
||||
alembic upgrade head
|
||||
|
||||
echo "Starting szurubooru API on port ${PORT} - Running on ${THREADS} threads"
|
||||
|
|
Reference in a new issue