diff --git a/debian/rules b/debian/rules index a3f0ce7..91a2fd5 100755 --- a/debian/rules +++ b/debian/rules @@ -22,8 +22,7 @@ override_dh_auto_build: cd api; \ rm -rf var/cache/*; \ mkdir -p bin/; \ - COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer require symfony/flex --no-interaction; \ - COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer update --no-interaction; \ + mkdir -p public ; \ COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer install --no-interaction; \ COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer dump-env prod --no-interaction; \ COMPOSER_ALLOW_SUPERUSER=1 APP_ENV=prod composer update doctrine/dbal --no-interaction; \