Skip to content

Commit

Permalink
improved clearing cache behavior (#1820)
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmannmartin authored May 11, 2020
1 parent 8d339e6 commit c1e36bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@
"@auto-scripts"
],
"auto-scripts": {
"php phing clean": "script",
"shopsys:domains-urls:configure": "symfony-cmd",
"ckeditor:install --clear=skip --release=full --tag=4.5.11": "symfony-cmd",
"cache:clear --no-warmup": "symfony-cmd",
"security-checker security:check": "script"
}
},
Expand Down
4 changes: 3 additions & 1 deletion docker/php-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ COPY --chown=www-data:www-data / /var/www/html

RUN composer install --optimize-autoloader --no-interaction --no-progress --no-dev

RUN php phing build-deploy-part-1-db-independent
RUN php phing build-deploy-part-1-db-independent clean

########################################################################################################################

Expand All @@ -140,3 +140,5 @@ RUN composer install --optimize-autoloader --no-interaction --no-progress --dev
RUN php phing composer-dev dirs-create test-dirs-create assets npm standards tests-unit tests-acceptance-build

RUN ./bin/console shopsys:environment:change prod

RUN php phing clean

0 comments on commit c1e36bc

Please sign in to comment.