leonsimon23 commited on
Commit
3d34bc1
·
verified ·
1 Parent(s): 74cd0eb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -1,9 +1,10 @@
1
  FROM node:18
 
2
  RUN git clone https://github.com/SciYied/ChatGPT-Next-Web.git
3
- WORKDIR "ChatGPT-Next-Web"
4
 
5
- RUN npm i
6
  RUN npm run build
7
- EXPOSE 3000
8
- CMD ["npm", "run", "start"]
9
 
 
 
 
1
  FROM node:18
2
+
3
  RUN git clone https://github.com/SciYied/ChatGPT-Next-Web.git
4
+ WORKDIR /ChatGPT-Next-Web
5
 
6
+ RUN npm install
7
  RUN npm run build
 
 
8
 
9
+ EXPOSE 3000
10
+ CMD ["node", ".next/standalone/server.js"]