CoolFace
Apppublic

ShiShuMo/cursor

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Dockerfile15 linesDownload Raw Back to root
1FROM node:lts-alpine2 3EXPOSE 30004ENV TZ=Asia/Shanghai5 6WORKDIR /app7RUN apk add git8RUN git clone https://github.com/zhx47/cursor-api.git .9ADD utils.js src/10RUN yarn config set registry https://registry.npmmirror.com/11RUN yarn12 13RUN sed -i 's/\/v1\/chat\/completions/\/proxies\/v1\/chat\/completions/g' src/index.js14 15CMD ["npm", "run", "start"]