Update Dockerfile

This commit is contained in:
Alexandre
2020-11-29 18:38:30 +01:00
committed by GitHub
parent 1fb04dbc25
commit 954537f3d2

View File

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