rr1 commited on
Commit
c1017a7
·
verified ·
1 Parent(s): 9ebc8b4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -15,6 +15,8 @@ RUN git clone https://github.com/xLmiler/grok2api.git /app
15
  # 设置工作目录
16
  WORKDIR app
17
 
 
 
18
  # 安装依赖
19
  RUN npm install
20
 
 
15
  # 设置工作目录
16
  WORKDIR app
17
 
18
+ RUN sed -i 's/\/v1\/chat\/completions/\/hf\/v1\/chat\/completions/g' index.js
19
+
20
  # 安装依赖
21
  RUN npm install
22