[Docker] skip composer dump on scoping

This commit is contained in:
TomasVotruba 2021-04-22 20:39:25 +02:00
parent c85ee538ba
commit 3139430ea7

View File

@ -43,7 +43,7 @@ RUN composer install --no-dev --no-progress --no-autoloader --prefer-dist
# Add source and generate full autoloader
COPY . .
RUN composer dump-autoload --optimize --classmap-authoritative --no-dev
#RUN composer dump-autoload --optimize --classmap-authoritative --no-dev
RUN rm -f "phpstan-for-rector.neon" \
&& php -d memory_limit=-1 php-scoper.phar add-prefix bin config packages rules src templates vendor composer.json --output-dir /scoped --config scoper.php \