Skip to content

Commit

Permalink
Revert "Disable Composer commands in entrypoint for live environments"
Browse files Browse the repository at this point in the history
This reverts commit b32d789.
  • Loading branch information
codedmonkey committed Sep 22, 2023
1 parent 2c982a5 commit d1c2f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/app-entrypoint.bash
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
if [ "$1" = 'php-fpm' ] || [ "$1" = 'bin/console' ]; then
mkdir -p public/media var/cache var/log

if [ "$APP_ENV" = 'dev' ]; then
if [ "$APP_ENV" != 'prod' ]; then
composer install --no-autoloader --no-progress --no-scripts --no-interaction
composer clear-cache --no-interaction
composer dump-autoload --no-interaction
Expand Down

0 comments on commit d1c2f8d

Please sign in to comment.