I\'m building an app using multiple dockerfiles (one for each service). My app\'s directory structure is as follows:
app ├── dockerfiles │ ├── webserver │ │
The scope for the COPY instruction is the folder where Dockerfile is. My suggestion is to change your Dockerfile to public folder and change the instruction to COPY . /var/www/html.
COPY
COPY . /var/www/html