feature: add docker
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
cd /var/www/html
|
||||
|
||||
if [ ! -f "vendor/autoload.php" ]; then
|
||||
composer install
|
||||
fi
|
||||
|
||||
mkdir -p storage/logs \
|
||||
storage/framework/cache \
|
||||
storage/framework/sessions \
|
||||
storage/framework/views \
|
||||
bootstrap/cache
|
||||
|
||||
chmod -R 777 storage bootstrap/cache
|
||||
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user