Commit a4b6ddb0 authored by Michał Woźniak's avatar Michał Woźniak
Browse files

Update root/entrypoint.sh

parent 429e802d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -20,6 +20,9 @@ if [ "$1" = "wallabag" ] || [ "$1" = "migrate" ];then
    # run migrations
    cd /var/www/wallabag/
    su -c "bin/console doctrine:migrations:migrate --env=prod --no-interaction" -s /bin/sh nobody
    # some things do not seem to be handled by migrations, sadly
    # https://github.com/wallabag/wallabag/pull/3868
    su -c "bin/console wallabag:install --env=prod --no-interaction" -s /bin/sh nobody
    # run php-fpm7
    exec php-fpm7 -F
fi