TrafeX / docker-php-nginx

Docker image with PHP-FPM 8.3 & Nginx 1.26 on Alpine Linux
https://hub.docker.com/r/trafex/php-nginx
MIT License
1.37k stars 736 forks source link

Composer could not find a composer.json file in /var/www/html #55

Closed narayanpromax closed 3 years ago

narayanpromax commented 3 years ago

Composer could not find a composer.json file in /var/www/html To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section The command '/bin/sh -c composer install --optimize-autoloader --no-interaction --no-progress' returned a non-zero code: 1

TrafeX commented 3 years ago

Hi @narayandreamer,

Did you create a composer.json file? How do you run the container?

TrafeX commented 3 years ago

I'm closing this due to inactivity. Let me know if you still experience this issue!