Carga inicial
This commit is contained in:
10
docker/entrypoint-production.sh
Normal file
10
docker/entrypoint-production.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# This script checks if the container is started for the first time.
|
||||
|
||||
composer install --no-interaction --no-plugins --no-scripts
|
||||
|
||||
chown -R www-data:www-data storage/ bootstrap/
|
||||
chmod -R 755 storage/ bootstrap/
|
||||
|
||||
# run the command sent as arguments to this script
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user