jellyfin: add globlal cache & metadata
This commit is contained in:
parent
1090745353
commit
ad05de9c9d
1 changed files with 1 additions and 2 deletions
|
@ -14,7 +14,6 @@ FROM ${REPO_LOCATION}minideb
|
|||
COPY --from=builder /jellyfin.asc /etc/apt/trusted.gpg.d/jellyfin.asc
|
||||
|
||||
RUN echo "deb [arch=$( dpkg --print-architecture )] http://repo.jellyfin.org/$( awk -F'=' '/^ID=/{ print $NF }' /etc/os-release ) $( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release ) main" >/etc/apt/sources.list.d/jellyfin.list \
|
||||
&& mkdir -p /srv/cache /srv/config /srv/media \
|
||||
&& install_packages ca-certificates mesa-va-drivers jellyfin jellyfin-ffmpeg openssl
|
||||
# Might need to install 'locales' too, since it does that & configures it in the official Dockerfile
|
||||
|
||||
|
@ -28,7 +27,7 @@ ENV JELLYFIN_CONFIG_DIR /srv/config
|
|||
ENV JELLYFIN_LOG_DIR /srv/logs
|
||||
ENV JELLYFIN_CACHE_DIR /srv/cache
|
||||
|
||||
VOLUME /srv/data /srv/config /srv/logs /srv/cache /srv/media
|
||||
VOLUME /srv/data /srv/config /srv/logs /srv/cache /srv/media /srv/global_cache /srv/metadata
|
||||
|
||||
USER 90:90
|
||||
|
||||
|
|
Loading…
Reference in a new issue