one line start up now
parent
fa5cfab7f5
commit
8bddb565c2
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd /var/www/trial && \
|
||||||
|
php bin/console cache:clear --env=$APP_ENV && \
|
||||||
|
php bin/console cache:warmup --env=$APP_ENV && \
|
||||||
|
php bin/console doctrine:migrations:migrate --no-interaction --env=$APP_ENV && \
|
||||||
|
yarn install && \
|
||||||
|
yarn encore $APP_ENV && \
|
||||||
|
|
||||||
|
# Start the server
|
||||||
|
/usr/local/bin/docker-php-entrypoint php-fpm
|
||||||
Loading…
Reference in New Issue