Npm install reports success and then hangs

I am trying to build my Angular app using a Docker image. My Dockerfile is very simple…

FROM brianharwell/npm:6.9.0-1709 as client

#FROM stefanscherer/node-windows:10.15.3-build-tools

#FROM node

WORKDIR /source

COPY . .

RUN npm install

RUN echo "hello"

And my build command is…
docker image build -t test .

If I use my custom built image or Stefan’s image the npm install command reports back a success status but just hangs. It never gets to my “echo” command but if I switch the daemon to use Linux containers and use the Linux image for node my image build successfully.

added 1428 packages from 1159 contributors in 88.491s