Chat33 / Dockerfile
Niansuh's picture
Update Dockerfile
20f47bf verified
raw
history blame contribute delete
762 Bytes
# 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"]