Docker-compose hangs on Attaching to : <p>I have an issue when running docker-compose up. It hangs on attaching to and I cannot access my web app on <code>localhost:4200</code>.</p>

<p><strong>docker-compose.yml:</strong></p>

<pre><code>version: '2' # specify docker-compose version

# Define the services/containers to be run
services:
  angular: # name of the first service
    build:
      context: . 
      dockerfile: ./.docker/scs.dockerfile  # specify the directory of the Dockerfile
    container_name: secure-cloud-storage-build-dev
    image: secure-cloud-storage
    ports:
      - "4200:4200" # specify port forwarding
</code></pre>

<p><strong>dockerfile:</strong></p>

<pre><code># Stage 0, based on Node.js, to build and compile Angular
FROM node:8.6 as node
WORKDIR /app
COPY package.json /app/
RUN npm install
COPY ./ /app/
ARG env=prod
RUN npm run build -- --prod --environment $env

# Stage 1, based on Nginx, to have only the compiled app, ready for production with Nginx
FROM nginx:1.13
COPY --from=node /app/dist/ /usr/share/nginx/html
COPY ./nginx-custom.conf /etc/nginx/conf.d/default.conf
</code></pre>

<p><strong>nginx-custom.conf:</strong></p>

<pre><code>server {
  listen 80;
  location / {
    root /usr/share/nginx/html;
    index index.html index.htm;
    try_files $uri $uri/ /index.html =404;
  }
}
</code></pre>

<p><strong>Here is verbose output:</strong></p>

<p><a href="https://i.stack.imgur.com/wLhJr.png" rel="noreferrer">docker-compose --verbose up output</a></p>

<p>Any clues what might be going wrong? I am quite fresh in Docker world, basically doing tutorials, so might be something obvious i missed.
My <code>localhost:4200</code> returns <code>ERR_EMPTY_RESPONSE</code>.</p>
