diff --git a/api/composer.json b/api/composer.json index daabeb65f..91ba44e8a 100755 --- a/api/composer.json +++ b/api/composer.json @@ -56,7 +56,7 @@ "scripts": { "auto-scripts": { "cache:clear": "symfony-cmd", - "assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd", + "assets:install %PUBLIC_DIR%": "symfony-cmd", "security-checker security:check": "script" }, "post-install-cmd": [ diff --git a/api/docker/php/docker-entrypoint.sh b/api/docker/php/docker-entrypoint.sh index d737930fe..c9cd18614 100755 --- a/api/docker/php/docker-entrypoint.sh +++ b/api/docker/php/docker-entrypoint.sh @@ -14,7 +14,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'bin/console' ]; then if [ "$APP_ENV" != 'prod' ]; then composer install --prefer-dist --no-progress --no-suggest --no-interaction >&2 echo "Waiting for Postgres to be ready..." - until pg_isready --timeout=0 --dbname="${DATABASE_URL}"; do + until bin/console doctrine:query:sql "SELECT 1" --quiet; do sleep 1 done bin/console doctrine:schema:update --force --no-interaction