三玖Miku Nakano commited on
Commit
27190a1
1 Parent(s): 58495ac

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18
2
+ RUN git clone https://github.com/Yidadaa/ChatGPT-Next-Web.git
3
+ WORKDIR "ChatGPT-Next-Web"
4
+ RUN npm i # 推荐使用 pnpm i
5
+ RUN npm run build
6
+ # 设置环境变量,此处为随机字符
7
+ ENV BASE_URL="https://ai.fakeopen.com"
8
+ ENV OPENAI_API_KEY="pk-this-is-a-real-free-pool-token-for-everyone"
9
+ EXPOSE 3000
10
+ CMD ["npm", "run", "start"]