I want to deploy my Laravel project with docker on the server. (locally it works fine)
I follow the following steps:
1. docker-compose build app 2. docker-compose up -d 3. docker-compose exec app composer install (throws error)
error: Failed to download psr/log from dist: curl error 60 while downloading https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001: SSL certificate problem: self signed certificate in certificate chain Now trying to download from source
add the following commands:
RUN composer config --global disable-tls true RUN composer config --global secure-http false
generate security certificates disable firewall