File size: 387 Bytes
99de1a0
a7b63d5
99de1a0
fc6bff9
99de1a0
 
 
 
 
1
2
3
4
5
6
7
8
9
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"]