[+] Building 572.3s (16/22)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.66kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 45B 0.0s
=> [internal] load metadata for docker.io/library/tomcat:9.0.46-jdk8-openjdk-buster 1.5s
=> [auth] library/tomcat:pull token for registry-1.docker.io 0.0s
=> CACHED [ 1/17] FROM docker.io/library/tomcat:9.0.46-jdk8-openjdk-buster@sha256:3 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 953B 0.0s
=> [ 2/17] RUN apt-get update && apt-get install -y --no-install-recommends w 139.1s
=> [ 3/17] WORKDIR ~ 0.0s
=> [ 4/17] RUN curl -sL https://deb.nodesource.com/setup_12.x -o nodesource_setup. 27.1s
=> [ 5/17] RUN apt-get update && apt-get install -y --no-install-recommends np 40.5s
=> [ 6/17] RUN npm install -g npm 42.1s
=> [ 7/17] WORKDIR /usr/local/tomcat/webapps 0.0s
=> [ 8/17] RUN wget https://repo.ohdsi.org/nexus/repository/releases/org/ohdsi/We 315.1s
=> [ 9/17] RUN wget https://github.com/OHDSI/Atlas/archive/v2.9.0.zip && unzip 5.4s
=> [10/17] WORKDIR /usr/local/tomcat/webapps/atlas 0.0s
=> ERROR [11/17] RUN npm run build 1.2s
------
> [11/17] RUN npm run build:
#15 1.136 npm WARN npm npm does not support Node.js v10.24.0
#15 1.138 npm WARN npm You should probably upgrade to a newer version of node as we
#15 1.139 npm WARN npm can't make any promises that npm will work with this version.
#15 1.139 npm WARN npm You can find the latest version at https://nodejs.org/
#15 1.146 npm ERR! Unexpected token =
#15 1.160
#15 1.160 npm ERR! A complete log of this run can be found in:
#15 1.161 npm ERR! /root/.npm/_logs/2021-11-23T21_36_46_330Z-debug.log
------
executor failed running [/bin/sh -c npm run build]: exit code: 1
It appears to be an issue with nodejs and/or npm.