Upload Dockerfile
Browse files- 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/
|
|
|
|
| 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 \
|