You've already forked DataMate
chore(gateway): 移除Dockerfile中的离线模式参数
- 移除了mvn命令中的-o参数,允许在线下载依赖包 - 优化了编译过程以支持网络连接场景下的依赖管理
This commit is contained in:
2
Makefile
2
Makefile
@@ -13,7 +13,7 @@ SAVE ?= false # Default: only pull images, don't save to dist/
|
|||||||
ifdef dev
|
ifdef dev
|
||||||
REGISTRY :=
|
REGISTRY :=
|
||||||
else
|
else
|
||||||
REGISTRY ?= ghcr.io/modelengine-group/
|
REGISTRY ?= ghcr.nju.edu.cn/modelengine-group/
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef COMSPEC
|
ifdef COMSPEC
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
global:
|
global:
|
||||||
namespace: datamate
|
namespace: datamate
|
||||||
image:
|
image:
|
||||||
repository: "ghcr.io/modelengine-group/"
|
repository: "ghcr.nju.edu.cn/modelengine-group/"
|
||||||
pullPolicy: "IfNotPresent"
|
pullPolicy: "IfNotPresent"
|
||||||
backend:
|
backend:
|
||||||
name: "datamate-backend"
|
name: "datamate-backend"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
global:
|
global:
|
||||||
image:
|
image:
|
||||||
repository: "ghcr.io/modelengine-group/"
|
repository: "ghcr.nju.edu.cn/modelengine-group/"
|
||||||
pullPolicy: "IfNotPresent"
|
pullPolicy: "IfNotPresent"
|
||||||
backend:
|
backend:
|
||||||
name: "deer-flow-backend"
|
name: "deer-flow-backend"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ extraArgs: []
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/huggingface/text-embeddings-inference
|
repository: ghcr.nju.edu.cn/huggingface/text-embeddings-inference
|
||||||
tag: cpu-1.6
|
tag: cpu-1.6
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
|||||||
@@ -1375,7 +1375,7 @@ tei:
|
|||||||
enabled: false
|
enabled: false
|
||||||
name: text-embeddings-inference
|
name: text-embeddings-inference
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/huggingface/text-embeddings-inference
|
repository: ghcr.nju.edu.cn/huggingface/text-embeddings-inference
|
||||||
tag: cpu-1.6
|
tag: cpu-1.6
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
service:
|
service:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
FROM ghcr.io/astral-sh/uv:python3.12-bookworm
|
FROM ghcr.nju.edu.cn/astral-sh/uv:python3.12-bookworm
|
||||||
|
|
||||||
# Install uv.
|
# Install uv.
|
||||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
COPY --from=ghcr.nju.edu.cn/astral-sh/uv:latest /uv /bin/uv
|
||||||
|
|
||||||
# 配置 apt 阿里云镜像源并安装系统依赖
|
# 配置 apt 阿里云镜像源并安装系统依赖
|
||||||
RUN if [ -f /etc/apt/sources.list.d/debian.sources ]; then \
|
RUN if [ -f /etc/apt/sources.list.d/debian.sources ]; then \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM ghcr.io/astral-sh/uv:python3.11-bookworm
|
FROM ghcr.nju.edu.cn/astral-sh/uv:python3.11-bookworm
|
||||||
|
|
||||||
# 配置 apt 阿里云镜像源
|
# 配置 apt 阿里云镜像源
|
||||||
RUN --mount=type=cache,target=/var/cache/apt \
|
RUN --mount=type=cache,target=/var/cache/apt \
|
||||||
|
|||||||
Reference in New Issue
Block a user