Spaces:
Runtime error
Runtime error
leonsimon23
commited on
Update Dockerfile
Browse files- 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
|
4 |
|
5 |
-
RUN npm
|
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"]
|