Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -21,7 +21,7 @@ RUN git clone https://github.com/deanxv/genspark2api.git .
|
|
21 |
|
22 |
|
23 |
# 添加修改路由的命令
|
24 |
-
RUN sed -i 's|
|
25 |
|
26 |
# 直接执行依赖下载
|
27 |
RUN go mod download
|
|
|
21 |
|
22 |
|
23 |
# 添加修改路由的命令
|
24 |
+
RUN sed -i 's|router.Group("/v1")|router.Group("/hf/v1")|' router/api-router.go
|
25 |
|
26 |
# 直接执行依赖下载
|
27 |
RUN go mod download
|