DEV Community

Discussion on: Deploying Your Laravel App on Docker, With NGINX and MySQL

Collapse
 
baliachbryan profile image
Brian Baliach

Hello there Ludan

As a temporary fix for your error, comment out that line (php artisan optimize) then run docker-compose up then try and running the command after your container has been deployed

Collapse
 
luudanhnhan1102 profile image
Luudanhnhan1102

thank you so much for this advice <3