dwdcth/cursor
0
1FROM node:lts-alpine2 3EXPOSE 30004ENV TZ=Asia/Shanghai5 6WORKDIR /app7RUN apk add git8RUN git clone https://github.com/906051999/cursor-api.git . && \9 git pull origin main10ADD utils.js src/11RUN yarn config set registry https://registry.npmmirror.com/12RUN yarn13 14RUN sed -i 's/\/v1\/chat\/completions/\/proxy\/v1\/chat\/completions/g' src/index.js15 16CMD ["npm", "run", "start"]