You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
320 B
Bash
11 lines
320 B
Bash
#!/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 |