Do not optimize in Dockerfile

This commit is contained in:
Christopher C. Wells 2021-04-23 21:46:00 -07:00
parent 685233cb34
commit 600bb9b2e9
1 changed files with 0 additions and 5 deletions

View File

@ -54,11 +54,6 @@ RUN composer install --optimize-autoloader --no-dev
# Change current user to www.
USER www
# Optimize application.
RUN php artisan config:cache
RUN php artisan route:cache
RUN php artisan view:cache
# Expose port 9000 and start php-fpm server.
EXPOSE 9000
CMD ["php-fpm"]