copytocontainer not updating the file until a restart? #968
Unanswered
frekvent-szabolcs
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am on Linux (Mint 21.1, Docker version 24.0.2). The newest docker-magento version and magento 2.4.6.
It seems like if I run
bin/copytocontainer --all
to move acomposer.json
change for example inside the container. The container itself will not update until I run abin/restart
.I made a change, ran copytocontainer, ran
bin/cli cat /var/www/html/composer.json
and the previous version was printed. After a restart, it got updated.What can I do to improve this? The source file copying from
src
works automatically. If I change a phtml template for example, the container updates it right away (and I do not need to run copytocontainer).Beta Was this translation helpful? Give feedback.
All reactions