title: docker compose django and node
body: <p>I am trying to make an application in django via docker and I want separate the backend (django) container from frontend (node, react) container using only one repository.</p>
  
  <p>I want to run node commands from django container (for example: npm init and creating the package.json at main folder).</p>
  
  <p>Is it a good pratice?</p>
  
  <p>If yes, how can I do this?</p>
  
  <p>Thanks in advance.</p>