Spaces:
Running
Running
906051999
commited on
Commit
·
4a5333b
1
Parent(s):
af0951b
add model
Browse files- 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
|
|
|
|
|
|
|
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"]
|