diff --git a/superset-websocket/Dockerfile b/superset-websocket/Dockerfile index ac6e4a299..d53fa2df7 100644 --- a/superset-websocket/Dockerfile +++ b/superset-websocket/Dockerfile @@ -12,7 +12,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -FROM node:16-alpine AS build +FROM node:20-alpine AS build WORKDIR /home/superset-websocket @@ -22,7 +22,7 @@ RUN npm ci && \ npm run build -FROM node:16-alpine +FROM node:20-alpine ENV NODE_ENV=production WORKDIR /home/superset-websocket diff --git a/superset-websocket/package.json b/superset-websocket/package.json index d5185028b..bb58b84d3 100644 --- a/superset-websocket/package.json +++ b/superset-websocket/package.json @@ -51,7 +51,7 @@ "typescript-eslint": "^8.12.2" }, "engines": { - "node": "^16.9.1", - "npm": "^7.5.4 || ^8.1.2" + "node": "^20.16.0", + "npm": "^10.8.1" } }