Here is why it takes now 3 commands. Because if you use the volume setting in docker-compose then the folder will be mapped OVER the local one... ergo every RUN composer install will be overridden.
Only solution I found:
build Docker
install dependencies, init environment and migrations via install script (on container with mapped volume)
up everything
Overall Status:
✅ frontend via http://localhost
✅ backend via http://locahost/master
❌ api ... not ... because http://api.localhost is not valid :(
Dockerized the whole thing.
Here is why it takes now 3 commands. Because if you use the
volume
setting indocker-compose
then the folder will be mapped OVER the local one... ergo everyRUN composer install
will be overridden. Only solution I found:Overall Status:
http://localhost
http://locahost/master
http://api.localhost
is not valid :(