906051999 commited on
Commit
4a5333b
·
1 Parent(s): af0951b
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -10,6 +10,9 @@ ADD utils.js src/
10
  RUN yarn config set registry https://registry.npmmirror.com/
11
  RUN yarn
12
 
13
- RUN sed -i 's/\/v1\/chat\/completions/\/proxy\/v1\/chat\/completions/g' src/index.js
 
 
 
14
 
15
  CMD ["npm", "run", "start"]
 
10
  RUN yarn config set registry https://registry.npmmirror.com/
11
  RUN yarn
12
 
13
+ RUN sed -i \
14
+ -e 's/\/v1\/chat\/completions/\/proxy\/v1\/chat\/completions/g' \
15
+ -e 's/\/v1\/models/\/proxy\/v1\/models/g' \
16
+ src/index.js
17
 
18
  CMD ["npm", "run", "start"]