diff --git a/emby/Dockerfile b/emby/Dockerfile index 3392cfa14..d96a9b372 100644 --- a/emby/Dockerfile +++ b/emby/Dockerfile @@ -5,9 +5,6 @@ FROM $BUILD_FROM # Set shell SHELL ["/bin/bash", "-o", "pipefail", "-c"] -# copy local files -COPY root/ / - RUN apt-get update \ \ && apt-get install -y --no-install-recommends \ @@ -29,6 +26,9 @@ RUN apt-get update \ /var/{cache,log}/* \ /var/lib/apt/lists/* +# copy local files +COPY root/ / + RUN sed -i "s|/config|/emby|g" /etc/services.d/emby/run \ && sed -i "s|/config|/emby|g" /etc/cont-init.d/30-config \ && sed -i "s|/config|/emby|g" /config/custom-cont-init.d/mount