Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -20
Dockerfile
CHANGED
|
@@ -1,20 +1 @@
|
|
| 1 |
-
|
| 2 |
-
FROM node:18
|
| 3 |
-
|
| 4 |
-
# Clone the ChatGPT-Langchain repository from GitHub
|
| 5 |
-
RUN git clone https://github.com/Niansuh/ChatGPT-Langchain.git
|
| 6 |
-
|
| 7 |
-
# Set the working directory inside the container
|
| 8 |
-
WORKDIR "ChatGPT-Langchain"
|
| 9 |
-
|
| 10 |
-
# Install dependencies using npm
|
| 11 |
-
RUN npm install
|
| 12 |
-
|
| 13 |
-
# Build the project
|
| 14 |
-
RUN npm run build
|
| 15 |
-
|
| 16 |
-
# Expose port 3000 for accessing the application
|
| 17 |
-
EXPOSE 3000
|
| 18 |
-
|
| 19 |
-
# Specify the command to run the application
|
| 20 |
-
CMD ["npm", "run", "start"]
|
|
|
|
| 1 |
+
FROM yidadaa/chatgpt-next-web
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|