I have two teams first one writing backend on laravel second team writong front on react. How better orginize docker container. create 1 container for 2 projects or create 2 different containers?
I think creating 2 containers is better:
But this only works when your react application is standalone (what it is if it's a react application), that means it should work "by itself" and only consume the API (REST / GraphQL / WebSocket) of the backend.
However, there are also some things to keep track of:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.