Commit 1a0a5bdb by shameelaz

fix

parent 2c8c708b
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"laravel/framework": "5.7.*", "laravel/framework": "5.7.*",
"laravel/tinker": "^1.0", "laravel/tinker": "^1.0",
"laravolt/auth": "4.6.10", "laravolt/auth": "4.6.10",
"laravolt/epicentrum": "*", "laravolt/epicentrum": "1.2.*",
"laravolt/epilog": "^0.3.0", "laravolt/epilog": "^0.3.0",
"laravolt/mailkeeper": "0.4", "laravolt/mailkeeper": "0.4",
"laravolt/packer": "^1.1", "laravolt/packer": "^1.1",
......
#!/bin/bash #!/bin/bash
cd /var/www/html cd /var/www/html
# Set permissions echo "Starting Entrypoint..."
find . -type d -exec chmod 775 {} \;
find . -type f -exec chmod 664 {} \;
chown -R www-data:www-data storage bootstrap/cache
chmod -R 775 storage bootstrap/cache
# Composer install with platform requirements ignored # Composer install with Verbose output
if [ ! -d "vendor" ]; then if [ ! -f "vendor/autoload.php" ]; then
echo "Installing Composer dependencies..." echo "Vendor folder missing. Running Composer..."
COMPOSER_MEMORY_LIMIT=-1 composer install --no-interaction --prefer-dist --ignore-platform-reqs COMPOSER_MEMORY_LIMIT=-1 composer install --no-interaction --prefer-dist --ignore-platform-reqs -vvv
if [ $? -ne 0 ]; then
echo "COMPOSER FAILED. Keeping container alive for debugging..."
tail -f /dev/null
fi
fi fi
# Ensure symlinks exist # Run Artisan
php artisan storage:link php artisan storage:link
php artisan laravolt:link-assets php artisan laravolt:link-assets
# Start Apache in the foreground # Start Apache
exec apache2-foreground exec apache2-foreground
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment