Skip to content

Commit

Permalink
👷 build: upgrade docker nodejs version to 22 (#5009)
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhijie0327 authored Dec 13, 2024
1 parent 78e1d99 commit 247f8dc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Set global build ENV
ARG NODEJS_VERSION="22"

## Base image for all building stages
FROM node:20-slim AS base
FROM node:${NODEJS_VERSION}-slim AS base

ARG USE_CN_MIRROR

Expand Down Expand Up @@ -166,6 +169,8 @@ ENV \
GOOGLE_API_KEY="" GOOGLE_MODEL_LIST="" GOOGLE_PROXY_URL="" \
# Groq
GROQ_API_KEY="" GROQ_MODEL_LIST="" GROQ_PROXY_URL="" \
# Higress
HIGRESS_API_KEY="" HIGRESS_MODEL_LIST="" HIGRESS_PROXY_URL="" \
# HuggingFace
HUGGINGFACE_API_KEY="" HUGGINGFACE_MODEL_LIST="" HUGGINGFACE_PROXY_URL="" \
# Hunyuan
Expand Down Expand Up @@ -211,9 +216,7 @@ ENV \
# 01.AI
ZEROONE_API_KEY="" ZEROONE_MODEL_LIST="" \
# Zhipu
ZHIPU_API_KEY="" ZHIPU_MODEL_LIST="" \
# Higress
HIGRESS_API_KEY="" HIGRESS_MODEL_LIST=""
ZHIPU_API_KEY="" ZHIPU_MODEL_LIST=""

USER nextjs

Expand Down
7 changes: 6 additions & 1 deletion Dockerfile.database
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Set global build ENV
ARG NODEJS_VERSION="22"

## Base image for all building stages
FROM node:20-slim AS base
FROM node:${NODEJS_VERSION}-slim AS base

ARG USE_CN_MIRROR

Expand Down Expand Up @@ -201,6 +204,8 @@ ENV \
GOOGLE_API_KEY="" GOOGLE_MODEL_LIST="" GOOGLE_PROXY_URL="" \
# Groq
GROQ_API_KEY="" GROQ_MODEL_LIST="" GROQ_PROXY_URL="" \
# Higress
HIGRESS_API_KEY="" HIGRESS_MODEL_LIST="" HIGRESS_PROXY_URL="" \
# HuggingFace
HUGGINGFACE_API_KEY="" HUGGINGFACE_MODEL_LIST="" HUGGINGFACE_PROXY_URL="" \
# Hunyuan
Expand Down

0 comments on commit 247f8dc

Please sign in to comment.