markshust / docker-magento

Mark Shust's Docker Configuration for Magento
https://m.academy/courses/set-up-magento-2-development-environment-docker/
MIT License
2.52k stars 997 forks source link

Synch issue with PhpStorm and Docker #1218

Closed postadelmaga closed 6 days ago

postadelmaga commented 1 week ago

I am new to docker so forgive me if the question is very basic. I followed the guide and successfully installed Magento with Docker and configured PhpStorm,.

The issue

I guess there is better way than run bin/copytocontainer pub everytime I do a change right ?

Hawksama commented 6 days ago

Map the pub/index.php into compose/compose.dev.yaml.

  - ./src/pub/index.php/:/var/www/html/pub/index.php:cached