Update Dockerfile
Browse files- Dockerfile +5 -6
Dockerfile
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
FROM node:18
|
2 |
-
RUN git clone https://github.com/
|
3 |
-
WORKDIR "ChatGPT-Next-Web
|
4 |
-
|
5 |
-
RUN
|
6 |
-
|
7 |
EXPOSE 3000
|
8 |
-
CMD
|
|
|
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"]
|