Spaces:
Running
Running
906051999
commited on
Commit
·
1ea6328
1
Parent(s):
87b8fba
update
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -5,11 +5,11 @@ ENV TZ=Asia/Shanghai
|
|
5 |
|
6 |
WORKDIR /app
|
7 |
RUN apk add git
|
8 |
-
RUN git clone https://github.com/
|
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/\/
|
14 |
|
15 |
CMD ["npm", "run", "start"]
|
|
|
5 |
|
6 |
WORKDIR /app
|
7 |
RUN apk add git
|
8 |
+
RUN git clone https://github.com/906051999/cursor-api.git .
|
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/\/v1\/chat\/completions/g' src/index.js
|
14 |
|
15 |
CMD ["npm", "run", "start"]
|