Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

bump default NodeJS version to 20 LTS (#2061)

Bowen Liangdc8a8af117ef
diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index 5b48e20f167..7b5ed7ddd73 100644
--- a/.github/workflows/style.yml
+++ b/.github/workflows/style.yml
@@ -21,7 +21,7 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
- node-version: 18
+ node-version: 20
cache: yarn
cache-dependency-path: ./web/package.json
diff --git a/web/Dockerfile b/web/Dockerfile
index 34e20c5c288..422fab37c47 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -1,5 +1,5 @@
# base image
-FROM node:18.17.0-alpine AS base
+FROM node:20.11.0-alpine AS base
# install packages
FROM base as packages
@@ -46,4 +46,4 @@ ARG COMMIT_SHA
ENV COMMIT_SHA ${COMMIT_SHA}
EXPOSE 3000
-ENTRYPOINT ["/bin/sh", "./entrypoint.sh"]
\ No newline at end of file
+ENTRYPOINT ["/bin/sh", "./entrypoint.sh"]