Erro unknown instruction: { | 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 Junior

4 meses atrás Junior

Erro unknown instruction: {

O meu está dando o seguinte erro. Error response from daemon: Dockerfile parse error line 11: unknown instruction: **{** Meu código é: FROM shakyshane/laravel-php:latest COPY composer.lock composer.json /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') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') **linha 11**{ 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 optimaze

1 Respostas