title: docker-compose up stuck on attaching to
body: <p>Im trying to dockerize my react app.</p>
  
  <p>Whenever i run <code>docker-compose up</code> it gets stuck on "Attaching to"</p>
  
  <p><strong>Dockerfile</strong></p>
  
  <pre><code># Stage 0 - Pre-requisite: Based On Node.js to BUILD and compile App.
  
  FROM node:10.15.0-alpine as node
  
  WORKDIR /app
  
  COPY package.json /app/
  
  RUN npm install 
  
  COPY ./ /app/
  
  RUN npm run build
  
  # Stage 1 - Based On Nginx to have ONLY a compiled and PRODUCTION ready build.
  
  FROM nginx:1.15.8-alpine
  
  COPY --from=node /app/build/ /usr/share/nginx/html
  
  COPY ./nginx-custom.conf /etc/nginx/conf.d/default.conf
  </code></pre>
  
  <p><strong>docker-compose.yml</strong></p>
  
  <pre><code>version: '3'
  
  services:
    idcheck-demo:
      image: idcheck-demo
      build:
        context: .
        dockerfile: Dockerfile
      ports:
        - 8080:8080
  </code></pre>
  
  <p><strong>nginx-custom.conf</strong></p>
  
  <pre><code>server {
      listen 8080;
      location / {
          root /usr/share/nginx/html;
          index index.html index.htm;
          try_files $uri $uri/ /index.html =404;
      }
  }
  </code></pre>
  
  <p>Ive tried attempting to access it by going to 0.0.0.0:8080 but it just returns me with the following error in the browser</p>
  
  <blockquote>
    <p>This page isn’t working 0.0.0.0 didn’t send any data.
    ERR_EMPTY_RESPONSE</p>
  </blockquote>