title: React App cannot be called when created via docker-compose.yml file
body: <p>I have a simple React app and a spring-boot application as backend. My front end should now communicate with the back end via a defined network. If I pack both services in a docker-compose file and deploy the whole thing, the container with both images is running, but when I call the React page I get an: &quot;This page does not work (ERR_EMPTY_RESPONSE)&quot; error. Where do I have a mistake in reasoning?</p>
  <p>My Dockerfile for React:</p>
  <pre><code>FROM node:10
  
  WORKDIR /usr/src/app
  
  COPY package*.json ./
  
  RUN npm install
  
  COPY . .
  
  EXPOSE 8083
  
  CMD [ &quot;npm&quot;, &quot;start&quot; ]
  </code></pre>
  <p>And my compose file:</p>
  <pre><code>version: &quot;3.9&quot;
  services:
   backend:
     container_name: &quot;spring-boot&quot;
     build: ./Java   
     networks:
      - bens_network
  
   frontend:
     container_name: &quot;react-app&quot;
     build: C:\einkauf\einkauf
     ports:
      - 8083:8083
     volumes:
      - './:/app'
      - '/app/node_modules'
     stdin_open: true
     tty: true
     networks:
      - bens_network
  
    
  networks:
   bens_network:
  </code></pre>
  <p>Und als letztes der Vollständigerhalber, mein Dockefile für mein Backend:</p>
  <pre><code>FROM openjdk:8
  COPY ./target/makecalls.jar makecalls.jar
  EXPOSE 8080
  CMD [&quot;java&quot;,&quot;-jar&quot;,&quot;makecalls.jar&quot;]
  </code></pre>