# Use the official Node.js image as the base image FROM node:20.4 # Set the working directory in the container WORKDIR /app # Git clone clewd RUN git clone https://github.com/teralomaniac/clewd.git . RUN sed -i 's|/v1/chat|/api/v1/chat|g' /app/clewd.js && \ sed -i 's|/v1/models|/api/v1/models|g' /app/clewd.js # RUN sed -i 's/res\.write(`\n\n\n\n\n\n\n${Main}

完全开源、免费且禁止商用

点击复制反向代理: Copy Link
填入OpenAI API反向代理并选择OpenAI分类中的claude模型(酒馆需打开Show "External" models,仅在api模式有模型选择差异)

教程与FAQ: Rentry | Discord


❗警惕任何高风险cookie/伪api(25k cookie)购买服务,以及破坏中文AI开源共享环境倒卖免费资源抹去署名的群组(🈲黑名单:酒馆小二、AI新服务、浅睡(鲑鱼)、赛博女友制作人(青麈/overloaded/科普晓百生)🈲)\n\n`); \/\//d' /app/clewd.js RUN sed -i -E '/res\.write\(`.*<\/html>`\);/d' /app/clewd.js # Install the dependencies RUN npm install --no-audit --fund false # Change ownership of files in lib/bin and set permissions RUN chown -R node:node lib/bin/* && \ chmod u+x lib/bin/* && \ chmod -R 777 /app # Run as the "node" user for better security practices USER node RUN ls -la # Start the application CMD ["node", "clewd.js"]