From e17893be80b17ee1f1ea056fe54059c492383780 Mon Sep 17 00:00:00 2001 From: Carson Yang Date: Wed, 31 Jul 2024 14:05:56 +0800 Subject: [PATCH] Update Dockerfile --- projects/fastgpt/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/fastgpt/Dockerfile b/projects/fastgpt/Dockerfile index 124d775..5570ae8 100644 --- a/projects/fastgpt/Dockerfile +++ b/projects/fastgpt/Dockerfile @@ -12,6 +12,7 @@ ADD . ./ RUN sed -i "s#https://fastgpt.in#https://fastgpt.cn#g" $(grep -rl "https://fastgpt.in" ./) RUN sed -i "s#https://doc.fastgpt.in#https://doc.fastgpt.cn#g" $(grep -rl "https://doc.fastgpt.in" ./) +RUN sed -i "s/defaultLocale = \"en\"/defaultLocale = \"zh\"/g" lib/i18n.ts RUN npm install RUN npm run build