dongsiqie commited on
Commit
c3eb91a
1 Parent(s): 68bdba4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -1,10 +1,7 @@
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"]
 
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
5
  RUN npm run build
 
 
 
6
  EXPOSE 3000
7
  CMD ["npm", "run", "start"]