bingloo commited on
Commit
3bfc994
·
verified ·
1 Parent(s): 209ab25

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -3,7 +3,8 @@ FROM node:lts-alpine
3
  WORKDIR /app
4
 
5
  RUN apk add --no-cache tzdata git && \
6
- git clone https://github.com/bingloo/c2api.git . && \
 
7
  npm i
8
 
9
  ENV TZ=Asia/Shanghai \
 
3
  WORKDIR /app
4
 
5
  RUN apk add --no-cache tzdata git && \
6
+ git clone https://github.com/bingloo/cursor-api.git . && \
7
+ sed -i "s|app.post('/v1/chat/completions', async (req, res) =>|app.post('/api/v1/chat/completions', async (req, res) =>|" src/index.js && \
8
  npm i
9
 
10
  ENV TZ=Asia/Shanghai \