Niansuh commited on
Commit
df41c52
1 Parent(s): e35c011

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the Node.js 18 base image
2
+ FROM node:18
3
+
4
+ # Clone the ChatGPT repository from GitHub
5
+ RUN git clone -b Copilot https://github.com/Niansuh/LLMs.git
6
+
7
+ # Set the working directory inside the container
8
+ WORKDIR "LLMs"
9
+
10
+ # Install dependencies using npm
11
+ RUN npm install
12
+
13
+ # Build the project
14
+ RUN npm run build
15
+
16
+ # Define environment variables
17
+ ENV CUSTOM_MODELS=-all,+gpt-4-turbo-preview,+gpt-4-vision-preview,+gpt-3.5-turbo-16k,+Creative,+Balanced,+Precise
18
+
19
+ # Expose port 3000 for accessing the application
20
+ EXPOSE 3000
21
+
22
+ # Specify the command to run the application
23
+ CMD ["npm", "run", "start"]