I have a dockerfile to start a symfony server. The Dockerfile contains:
RUN composer install --optimize-autoloader RUN APP_ENV=prod APP_DEBUG=0 php bin/consol