DEV Community

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

Collapse
 
sylviomigliorucci profile image
Sylvio Migliorucci • Edited

Hi Brian, i made all tutorial steps. i am not so good at docker yet, but a i get a error like this:

"Step 2/11 : COPY composer.lock composer.json /var/www/
ERROR: Service 'app' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder391229134/composer.lock: no such file or directory"

Can you help me?

Collapse
 
baliachbryan profile image
Brian Baliach

Hello there Sylvio. The error indicates that there is no composer.lock file
Please check your project's root folder and confirm that the file 'composer.lock' is there