move app files as is

This commit is contained in:
aptalca
2024-01-18 21:38:15 -05:00
parent 5894269035
commit 4508e8ae13
3 changed files with 8 additions and 16 deletions

View File

@@ -30,11 +30,7 @@ RUN \
dpkg-deb -xv /tmp/emby.deb /tmp/emby/ && \
mv -t \
/app/emby/ \
/tmp/emby/opt/emby-server/system/* \
/tmp/emby/opt/emby-server/lib/* \
/tmp/emby/opt/emby-server/bin/ff* \
/tmp/emby/opt/emby-server/etc \
/tmp/emby/opt/emby-server/extra/lib/* && \
/tmp/emby/opt/emby-server/* && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/*

View File

@@ -37,11 +37,7 @@ RUN \
dpkg-deb -xv /tmp/emby.deb /tmp/emby/ && \
mv -t \
/app/emby/ \
/tmp/emby/opt/emby-server/system/* \
/tmp/emby/opt/emby-server/lib/* \
/tmp/emby/opt/emby-server/bin/ff* \
/tmp/emby/opt/emby-server/etc \
/tmp/emby/opt/emby-server/extra/lib/* && \
/tmp/emby/opt/emby-server/* && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/* \

View File

@@ -2,18 +2,18 @@
# env settings
APP_DIR="/app/emby"
export LD_LIBRARY_PATH="${APP_DIR}"
export LD_LIBRARY_PATH="${APP_DIR}"/lib
export FONTCONFIG_PATH="${APP_DIR}"/etc/fonts
if [ -d "/lib/x86_64-linux-gnu" ]; then
export LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri:"${APP_DIR}"/dri
export LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri:"${APP_DIR}"/extra/lib/dri
fi
export SSL_CERT_FILE="${APP_DIR}"/etc/ssl/certs/ca-certificates.crt
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8096" \
s6-setuidgid abc /app/emby/EmbyServer \
s6-setuidgid abc /app/emby/bin/EmbyServer \
-programdata /config \
-ffdetect /app/emby/ffdetect \
-ffmpeg /app/emby/ffmpeg \
-ffprobe /app/emby/ffprobe \
-ffdetect /app/emby/bin/ffdetect \
-ffmpeg /app/emby/bin/ffmpeg \
-ffprobe /app/emby/bin/ffprobe \
-restartexitcode 3