diff --git a/.nvmrc b/.nvmrc index 3f430af82b..9a2a0e219c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18 +v20 diff --git a/Dockerfile b/Dockerfile index a4dbdea6e3..6123f7758a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ WORKDIR /app EXPOSE 3000 35729 COPY . /app -RUN yarn install && yarn build +RUN npm install && \ + npm run build -CMD ["yarn", "serve"] +CMD ["npm", "run", "serve"] diff --git a/package-lock.json b/package-lock.json index 5f8d72bcec..14d88da8b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ "prettier": "^3.3.3" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 5df2b63782..d7a8fda172 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,6 @@ "prettier": "^3.3.3" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" } }