use env variables in php fpm

This commit is contained in:
Alex Phillips 2021-10-12 08:04:56 -04:00
parent 6c3c049ff6
commit 726d0fe91b
3 changed files with 3 additions and 0 deletions

View File

@ -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 && \

View File

@ -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 && \

View File

@ -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 && \