michally commited on
Commit
5320a3c
·
verified ·
1 Parent(s): d6c6c91

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -19,6 +19,10 @@ RUN apk add --no-cache git
19
  RUN git clone https://github.com/deanxv/genspark2api.git .
20
 
21
 
 
 
 
 
22
  # 直接执行依赖下载
23
  RUN go mod download
24
 
 
19
  RUN git clone https://github.com/deanxv/genspark2api.git .
20
 
21
 
22
+
23
+ # 添加修改路由的命令
24
+ RUN sed -i 's|v1Router := router.Group("/v1")|v1Router := router.Group("/hf/v1")|' router/api-router.go
25
+
26
  # 直接执行依赖下载
27
  RUN go mod download
28