mirror of
https://github.com/linuxserver/docker-diskover.git
synced 2026-02-20 04:57:50 +08:00
use env variables in php fpm
This commit is contained in:
parent
6c3c049ff6
commit
726d0fe91b
@ -43,6 +43,7 @@ RUN \
|
||||
/app/ --strip-components=1 && \
|
||||
cd /app/diskover && \
|
||||
pip3 install --no-cache-dir -r requirements.txt && \
|
||||
sed -i 's@;clear_env = no@clear_env = no@' "/etc/php7/php-fpm.d/www.conf" && \
|
||||
echo "**** overlay-fs workaround ****" && \
|
||||
mv /app/diskover /app/diskover-tmp && \
|
||||
mv /app/diskover-web /app/diskover-web-tmp && \
|
||||
|
||||
@ -43,6 +43,7 @@ RUN \
|
||||
/app/ --strip-components=1 && \
|
||||
cd /app/diskover && \
|
||||
pip3 install --no-cache-dir -r requirements.txt && \
|
||||
sed -i 's@;clear_env = no@clear_env = no@' "/etc/php7/php-fpm.d/www.conf" && \
|
||||
echo "**** overlay-fs workaround ****" && \
|
||||
mv /app/diskover /app/diskover-tmp && \
|
||||
mv /app/diskover-web /app/diskover-web-tmp && \
|
||||
|
||||
@ -43,6 +43,7 @@ RUN \
|
||||
/app/ --strip-components=1 && \
|
||||
cd /app/diskover && \
|
||||
pip3 install --no-cache-dir -r requirements.txt && \
|
||||
sed -i 's@;clear_env = no@clear_env = no@' "/etc/php7/php-fpm.d/www.conf" && \
|
||||
echo "**** overlay-fs workaround ****" && \
|
||||
mv /app/diskover /app/diskover-tmp && \
|
||||
mv /app/diskover-web /app/diskover-web-tmp && \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user