Skip to content

Commit

Permalink
Fix/startup-sh (#9586)
Browse files Browse the repository at this point in the history
* fix: update docker/startup.sh broken after merging hotfixs/2fa_qr

* fix: Typo in Dockerfile.alpine
  • Loading branch information
sabir-dzangolab committed May 17, 2021
1 parent 4030789 commit 19766a0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docker/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,14 @@ then
sed -i "s/^upload_max_filesize.*/upload_max_filesize = ${PHP_UPLOAD_LIMIT}M/" /etc/php/*/apache2/php.ini
fi


# If the Oauth DB files are not present copy the vendor files over to the db migrations
if [ ! -f "/var/www/html/database/migrations/*create_oauth*" ]
then
cp -ax /var/www/html/vendor/laravel/passport/database/migrations/* /var/www/html/database/migrations/
fi

exec supervisord -c /supervisord.conf

php artisan migrate --force
php artisan config:clear
php artisan config:cache

. /etc/apache2/envvars
exec apache2 -DNO_DETACH < /dev/null
exec supervisord -c /supervisord.conf

0 comments on commit 19766a0

Please sign in to comment.