File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -49,12 +49,10 @@ WORKDIR /opt/www
4949
5050# Composer Cache
5151# COPY ./composer.* /opt/www/
52- # RUN composer install --no-dev
52+ # RUN composer install --no-dev --no-scripts
5353
5454COPY . /opt/www
55- RUN composer install --no-dev \
56- && composer dump-autoload -o \
57- && composer init-proxy
55+ RUN composer install --no-dev -o
5856
5957EXPOSE 9501
6058
Original file line number Diff line number Diff line change 7575 "post-root-package-install" : [
7676 " @php -r \" file_exists('.env') || copy('.env.example', '.env');\" "
7777 ],
78+ "post-autoload-dump" : [
79+ " init-proxy.sh"
80+ ],
7881 "test" : " co-phpunit -c phpunit.xml --colors=always" ,
7982 "cs-fix" : " php-cs-fixer fix $1" ,
8083 "analyze" : " phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config" ,
You can’t perform that action at this time.
0 commit comments