baidengq commited on
Commit
eaef466
·
verified ·
1 Parent(s): 08c752a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -1,6 +1,8 @@
1
- FROM node:20.9
2
  RUN git clone https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
3
  WORKDIR "ChatGPT-Next-Web"
 
 
4
  RUN npm i
5
  RUN npm run build
6
  EXPOSE 3000
 
1
+ FROM node:20
2
  RUN git clone https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
3
  WORKDIR "ChatGPT-Next-Web"
4
+ COPY . .
5
+ ENV HIDE_USER_API_KEY=1
6
  RUN npm i
7
  RUN npm run build
8
  EXPOSE 3000