erro Could not open input file: composer-setup.php | Fórum | School of Net

Deseja poder participar de nosso fórum e tirar todas as suas dúvidas?
Clique aqui e assine nosso plano de acesso ilimitado. Saiba mais.

por jardel

1 semana, 6 dias atrás jardel

erro Could not open input file: composer-setup.php

Eis o conteúdo do meu app.Dockerfile ``` FROM shakyshane/laravel-php:latest COPY composer.json composer.lock /var/www/ COPY database /var/www/database WORKDIR /var/www RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \ && php -r "if (hash_file('sha384', 'composer-setup.php') === 'e0012edf3e80b6978849f5eff0d4b4e4c79ff1609dd1e613307e16318854d24ae64f26d17af3ef0bf7cfb710ca74755a') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"\ && php composer-setup.php \ && php -r "unlink('composer-setup.php');" \ && php composer.phar install --no-dev --no-scripts \ && rm composer.phar COPY . /var/www RUN chown -R www-data:www-data \ /var//www/storage \ /var/www/bootstrap/cache RUN php artisan key:generate RUN php artisan config:cache RUN php artisan optimize ```

6 Respostas