Commit 1a0a5bdb by shameelaz

fix

parent 2c8c708b
......@@ -18,7 +18,7 @@
"laravel/framework": "5.7.*",
"laravel/tinker": "^1.0",
"laravolt/auth": "4.6.10",
"laravolt/epicentrum": "*",
"laravolt/epicentrum": "1.2.*",
"laravolt/epilog": "^0.3.0",
"laravolt/mailkeeper": "0.4",
"laravolt/packer": "^1.1",
......
#!/bin/bash
cd /var/www/html
# Set permissions
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
echo "Starting Entrypoint..."
# Composer install with platform requirements ignored
if [ ! -d "vendor" ]; then
echo "Installing Composer dependencies..."
COMPOSER_MEMORY_LIMIT=-1 composer install --no-interaction --prefer-dist --ignore-platform-reqs
# Composer install with Verbose output
if [ ! -f "vendor/autoload.php" ]; then
echo "Vendor folder missing. Running Composer..."
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
# Ensure symlinks exist
# Run Artisan
php artisan storage:link
php artisan laravolt:link-assets
# Start Apache in the foreground
# Start Apache
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