mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update Dockerfile
This commit is contained in:
@@ -44,8 +44,7 @@ RUN \
|
|||||||
#&& sed -i '3 a\ export PAPERLESS_OCR_LANGUAGE=$(bashio::config "PAPERLESS_OCR_LANGUAGE")' /etc/services.d/paperless/run \
|
#&& sed -i '3 a\ export PAPERLESS_OCR_LANGUAGE=$(bashio::config "PAPERLESS_OCR_LANGUAGE")' /etc/services.d/paperless/run \
|
||||||
#&& sed -i '3 a\ export PAPERLESS_OCR_MODE=$(bashio::config "PAPERLESS_OCR_MODE")' /etc/services.d/paperless/run \
|
#&& sed -i '3 a\ export PAPERLESS_OCR_MODE=$(bashio::config "PAPERLESS_OCR_MODE")' /etc/services.d/paperless/run \
|
||||||
# Change config location
|
# Change config location
|
||||||
&& sed -i "s|/config|$PAPERLESS_DATA_DIR|g" /etc/cont-init.d/* \
|
&& sed -i "s|/config|$PAPERLESS_DATA_DIR|g" /etc/cont-init.d/*
|
||||||
|| true
|
|
||||||
|
|
||||||
# copy local files
|
# copy local files
|
||||||
COPY rootfs/ /
|
COPY rootfs/ /
|
||||||
|
|||||||
Reference in New Issue
Block a user