rr1 commited on
Commit
e8951a6
·
verified ·
1 Parent(s): af676b0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -8,6 +8,9 @@ RUN git clone https://github.com/ycvk/monica-proxy.git /app
8
  # 设置工作目录
9
  WORKDIR /app
10
 
 
 
 
11
  # 下载依赖
12
  RUN go mod tidy
13
 
 
8
  # 设置工作目录
9
  WORKDIR /app
10
 
11
+ RUN sed -i 's/\/v1\/chat\/completions/\/hf\/v1\/chat\/completions/g' internal/apiserver/router.go
12
+ RUN sed -i 's/\/v1\/models/\/hf\/v1\/models/g' internal/apiserver/router.go
13
+
14
  # 下载依赖
15
  RUN go mod tidy
16