Try to add node_modules to docker ignore file.
Try to install build-essential after FROM: node
RUN apt-get install -y build-essential
Also, look at the docker file for node alpine to understand what other requirements you need to install.
Try to add node_modules to docker ignore file.
Try to install build-essential after FROM: node
RUN apt-get install -y build-essential
Also, look at the docker file for node alpine to understand what other requirements you need to install.