Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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 |
|