Spaces:
Running
Running
# Use the Node.js 18 base image | |
FROM node:18 | |
# Clone the ChatGPT repository from GitHub | |
RUN git clone https://github.com/RKIAI/ChatGPT-Next-Web.git | |
# Set the working directory inside the container | |
WORKDIR "ChatGPT-Next-Web" | |
# Install dependencies using npm | |
RUN npm install | |
# Build the project | |
RUN npm run build | |
ENV CUSTOM_MODELS=-all,+meta-llama/Meta-Llama-3.1-70B-Instruct@GPT-CHATBOT,+google/gemma-2-27b-it@GPT-CHATBOT,+meta-llama/Meta-Llama-3.1-8B-Instruct@GPT-CHATBOT,+Qwen/Qwen2-72B-Instruct@GPT-CHATBOT,+meta-llama/Meta-Llama-3.1-405B-Instruct@GPT-CHATBOT,+openchat/openchat-3.6-8b@GPT-CHATBOT,+mistralai/Mixtral-8x7B-Instruct-v0.1@GPT-CHATBOT,+mistralai/Mixtral-8x22B-Instruct-v0.1@GPT-CHATBOT,+mistralai/Mistral-7B-Instruct-v0.3@GPT-CHATBOT | |
# Define environment variables | |
EXPOSE 3000 | |
# Specify the command to run the application | |
CMD |