File size: 762 Bytes
dccdd57
 
 
 
0102ad7
dccdd57
 
0102ad7
dccdd57
 
 
 
 
 
 
20f47bf
4cd97b3
dccdd57
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Use the Node.js 18 base image
FROM node:18

# Clone the ChatGPT repository from GitHub
RUN git clone https://github.com/RKIAI/GPT-CHATBOT.git

# Set the working directory inside the container
WORKDIR "GPT-CHATBOT"

# Install dependencies using npm
RUN npm install

# Build the project
RUN npm run build

ENV CUSTOM_MODELS=-all,+gpt-4o@OpenAI,+gpt-4o-mini@OpenAI,+o1-preview@OpenAI,+o1-mini@OpenAI,+gemini-1.5-flash@OpenAI,+gemini-1.5-flash-exp-0827@OpenAI,+gemini-1.5-pro@OpenAI,+gemini-1.5-pro-002@OpenAI,+claude-3.5-sonnet@OpenAI,+claude-3-haiku@OpenAI,+claude-3-opus@OpenAI,+llama-3.1-70b@OpenAI,+llama-3.1-8b@OpenAI,+mistral-large2@OpenAI

# Define environment variables
EXPOSE 3000

# Specify the command to run the application
CMD ["npm", "run", "start"]