Niansuh commited on
Commit
8e888ed
1 Parent(s): 3b5f016

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -4
Dockerfile CHANGED
@@ -1,7 +1,20 @@
 
1
  FROM node:18
2
- RUN git clone https://github.com/chokiproai/ChatGPT-Plugins.git
3
- WORKDIR "ChatGPT-Plugins"
4
- RUN npm i
 
 
 
 
 
 
 
 
5
  RUN npm run build
 
 
6
  EXPOSE 3000
7
- CMD ["npm", "run", "start"]
 
 
 
1
+ # Use the Node.js 18 base image
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"]