Update Dockerfile

This commit is contained in:
Alexandre
2022-05-15 10:36:43 +02:00
committed by GitHub
parent 6aa07db9de
commit 7d75c6b42f

View File

@@ -29,13 +29,13 @@ FROM fireflyiii/core:latest
# # Change data location # # Change data location
# grep -rl "/var/www/html" /etc/ | xargs sed -i 's|/var/www/html|/data/firefly|g' # grep -rl "/var/www/html" /etc/ | xargs sed -i 's|/var/www/html|/data/firefly|g'
RUN \ #RUN \
################# #################
# Fix for 5.7.5 # # Fix for 5.7.5 #
################# #################
PATH="$(find / -type f -name 'GroupCollector.php' 2>/dev/null)" \ #PATH="$(find / -type f -name 'GroupCollector.php' 2>/dev/null)" \
&& sed -i "s#\'amount\'], \$transaction #\'amount\'], (string)(\$transaction#g" "$PATH" \ #&& sed -i "s#\'amount\'], \$transaction #\'amount\'], (string)(\$transaction#g" "$PATH" \
&& sed -i "s#\'0\');#\'0\'));#g" "$PATH" #&& sed -i "s#\'0\');#\'0\'));#g" "$PATH"
################## ##################
# 3 Install apps # # 3 Install apps #