Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -10,4 +10,6 @@ RUN git clone https://github.com/zhx47/cursor-api.git .
|
|
10 |
RUN yarn config set registry https://registry.npmmirror.com/
|
11 |
RUN yarn
|
12 |
|
|
|
|
|
13 |
CMD ["npm", "run", "start"]
|
|
|
10 |
RUN yarn config set registry https://registry.npmmirror.com/
|
11 |
RUN yarn
|
12 |
|
13 |
+
RUN sed -i 's/\/v1\/chat\/completions/\/proxies\/v1\/chat\/completions/g' src/index.js
|
14 |
+
|
15 |
CMD ["npm", "run", "start"]
|