Alpine linux docker image (#6645)

* docker-alpine: Alpine linux container + apache 2.4 support

* docker-alpine: Force passport migrations (production mode Exception)

* docker-alpine: Copy default env in Dockerfile
This commit is contained in:
Colin Campbell
2019-01-30 23:45:36 +01:00
committed by snipe
parent 9d21fc85bc
commit ef8e20f66b
5 changed files with 156 additions and 1 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ class SettingsController extends Controller
Artisan::call('migrate', ['--force' => true]);
if ((! file_exists(storage_path() . '/oauth-private.key')) || (! file_exists(storage_path() . '/oauth-public.key'))) {
Artisan::call('migrate', ['--path' => 'vendor/laravel/passport/database/migrations']);
Artisan::call('migrate', ['--path' => 'vendor/laravel/passport/database/migrations', '--force' => true]);
Artisan::call('passport:install');
}