fix: always pull newest jellyfin version.
This commit is contained in:
parent
8402e3d4ff
commit
4b34971700
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
JELLYFIN=jellyfin/jellyfin
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
pwd
|
pwd
|
||||||
|
@ -10,9 +12,10 @@ pwd
|
||||||
pwd
|
pwd
|
||||||
mkdir -p ./cache ./media ./config/plugins/jellyfin-smart-playlist
|
mkdir -p ./cache ./media ./config/plugins/jellyfin-smart-playlist
|
||||||
cp ../Jellyfin.Plugin.SmartPlaylist/bin/Debug/net8.0/jellyfin-smart-playlist.dll ./config/plugins/jellyfin-smart-playlist/
|
cp ../Jellyfin.Plugin.SmartPlaylist/bin/Debug/net8.0/jellyfin-smart-playlist.dll ./config/plugins/jellyfin-smart-playlist/
|
||||||
|
docker pull "$JELLYFIN"
|
||||||
docker run --rm --user "$(id -u):$(id -g)" \
|
docker run --rm --user "$(id -u):$(id -g)" \
|
||||||
-v ./cache:/cache \
|
-v ./cache:/cache \
|
||||||
-v ./config:/config \
|
-v ./config:/config \
|
||||||
-v ./media:/media \
|
-v ./media:/media \
|
||||||
-p 8096:8096 \
|
-p 8096:8096 \
|
||||||
jellyfin/jellyfin
|
"$JELLYFIN"
|
||||||
|
|
Loading…
Reference in a new issue