From 877570e241b9a7b3ca41783cf973aef590e0edeb Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 13 Nov 2022 22:35:02 +0100 Subject: [PATCH] Update Dockerfile --- paperless_ngx/Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/paperless_ngx/Dockerfile b/paperless_ngx/Dockerfile index 8e0d91962..651ab1c00 100644 --- a/paperless_ngx/Dockerfile +++ b/paperless_ngx/Dockerfile @@ -52,11 +52,11 @@ RUN \ sed -i '2i /./entrypoint.sh' /sbin/docker-entrypoint.sh && \ # Source bashio sed -i "/entrypoint.sh/a source /usr/lib/bashio/bashio.sh" /sbin/docker-entrypoint.sh && \ - # Source variables - sed -i "/entrypoint.sh/a source /usr/lib/bashio/bashio /templates/variables.sh" /sbin/docker-entrypoint.sh && \ # Source config.yaml - sed -i "/entrypoint.sh/a source /usr/lib/bashio/bashio /etc/cont-init.d/90-config_yaml.sh" /sbin/docker-entrypoint.sh - + sed -i "/entrypoint.sh/a source /usr/lib/bashio/bashio /etc/cont-init.d/90-config_yaml.sh" /sbin/docker-entrypoint.sh && \ + # Source variables + sed -i "/entrypoint.sh/a source /usr/lib/bashio/bashio /templates/variables.sh" /sbin/docker-entrypoint.sh + # Modules ARG MODULES="00-banner.sh 92-local_mounts.sh 92-smb_mounts.sh 90-config_yaml.sh" @@ -86,6 +86,7 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get ################ RUN chmod 777 /entrypoint.sh +RUN chmod 777 /templates/variables.sh #WORKDIR / #ENTRYPOINT [ "/usr/bin/env" ] #ENTRYPOINT [ "/entrypoint.sh" ]