iridescentX commited on
Commit
cb139a0
1 Parent(s): c7e9a9f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -8,8 +8,8 @@ RUN wget -qO- -t1 -T2 "https://api.github.com/repos/MartialBE/one-hub/releases"
8
  awk -F ":" '{print $2}' | \
9
  sed 's/\"//g;s/,//g;s/ //g' > VERSION
10
 
11
- RUN sed -i'' 's|router.Group("/v1|router.Group("/ai/v1|g' /build/router/relay-router.go
12
- RUN sed -i'' 's|HasPrefix(path, "/v1|HasPrefix(path, "/ai/v1|g' /build/relay/common.go
13
 
14
  WORKDIR /build/web
15
  RUN npm install
 
8
  awk -F ":" '{print $2}' | \
9
  sed 's/\"//g;s/,//g;s/ //g' > VERSION
10
 
11
+ RUN sed -i'' 's|router.Group("/v1|router.Group("/hf/v1|g' /build/router/relay-router.go
12
+ RUN sed -i'' 's|HasPrefix(path, "/v1|HasPrefix(path, "/hf/v1|g' /build/relay/common.go
13
 
14
  WORKDIR /build/web
15
  RUN npm install