diff --git a/paperless_ngx/Dockerfile b/paperless_ngx/Dockerfile index 2f0449fec..8e0d91962 100644 --- a/paperless_ngx/Dockerfile +++ b/paperless_ngx/Dockerfile @@ -51,11 +51,11 @@ RUN \ # Run entrypoint sed -i '2i /./entrypoint.sh' /sbin/docker-entrypoint.sh && \ # Source bashio - sed -i "/entrypoint.sh/a source $(find / -name bashio.sh)" /sbin/docker-entrypoint.sh && \ - # Source config.yaml - sed -i "/entrypoint.sh/a source /etc/cont-init.d/90-config_yaml.sh" /sbin/docker-entrypoint.sh && \ + sed -i "/entrypoint.sh/a source /usr/lib/bashio/bashio.sh" /sbin/docker-entrypoint.sh && \ # Source variables - sed -i "/entrypoint.sh/a source /templates/variables.sh" /sbin/docker-entrypoint.sh + 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 # Modules ARG MODULES="00-banner.sh 92-local_mounts.sh 92-smb_mounts.sh 90-config_yaml.sh"