gpt / Dockerfile
dongsiqie's picture
Update Dockerfile
eb47b35
raw
history blame
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"]