FROM node:lts-alpine3.19 RUN apk add git curl bash wget sudo sed WORKDIR /code RUN git clone https://github.com/xLmiler/DocsAnthropic2API . && sed -i 's/|| ||/||/g' /code/index.js && sed -i 's|/v1/|/api/v1/|g' /code/index.js RUN npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev && npm cache clean --force COPY . . ENV PORT=7860 EXPOSE 7860 CMD ["npm", "start"]