From 257c6231bad138ce6270775520f8aeec2fd86156 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 4 Mar 2023 06:33:10 +0100 Subject: [PATCH] Update Dockerfile --- fireflyiii/Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/fireflyiii/Dockerfile b/fireflyiii/Dockerfile index 077efb557..3220b1e90 100644 --- a/fireflyiii/Dockerfile +++ b/fireflyiii/Dockerfile @@ -34,15 +34,9 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # grep -rl "/var/www/html" /etc/ | xargs sed -i 's|/var/www/html|/data/firefly|g' ARG BUILD_UPSTREAM="6.0.0" -RUN \ - ################# - # Fix for 5.7.5 # - ################# - if [ "$BUILD_UPSTREAM" = "6.0.0" ] ; then \ - sed -i "s|, \$transaction\[\x27amount\x27\] ?? \x270\x27);|, (string)(\$transaction\[\x27amount\x27\] ?? \x270\x27));|g" /var/www/html/app/Helpers/Collector/GroupCollector.php; else echo "not 5.7.5"; fi RUN \ # Change upload folder to "ha_upload" since the default one is binded to a volume (see base image) - sed -i "s/'root' => storage_path('upload'),/'root' => storage_path('ha_upload'),/g" /var/www/html/config/fileystems.php + sed -i "s/'root' => storage_path('upload'),/'root' => storage_path('ha_upload'),/g" /var/www/html/config/filesystems.php ################## # 3 Install apps #