eai2 / Dockerfile
yourstudiolab's picture
Duplicate from yourstudiolab/eai1
fef0534
raw
history blame contribute delete
343 Bytes
FROM node:18
RUN git clone https://github.com/Yidadaa/ChatGPT-Next-Web.git
WORKDIR "ChatGPT-Next-Web"
RUN npm i # 推荐使用 pnpm i
RUN npm run build
# 设置环境变量,此处为随机字符
ENV BASE_URL="https://ai.fakeopen.com"
ENV OPENAI_API_KEY="pk-this-is-a-real-free-pool-token-for-everyone"
EXPOSE 3000
CMD ["npm", "run", "start"]