# Use the Node.js 18 base image FROM node:18 # Clone the ChatGPT repository from GitHub RUN git clone https://github.com/Niansuh/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 # Define environment variables ENV CUSTOM_MODELS=-all,+computer@NAI,+claude-3-5-sonnet-20240620@NiansuhAI,+o1-mini@NiansuhAI,+gpt-4o-mini@NAI,+gpt-4o@NAI,+zephyr-7B-beta@NAI,+chat-bison@NiansuhAI,+ImageGeneration@NiansuhAI,+claude-sonnet-3.5@NiansuhAI,+flux@NiansuhAI,+gemini-pro@NiansuhAI,+llama-3.1-405b@NiansuhAI,+01-ai/Yi-34B-Chat@NiansuhAI,+AndroidDeveloper@NiansuhAI,+AngularJSAgent@NiansuhAI,+blackboxai@NiansuhAI,+gemini-1.5-flash@NiansuhAI,+GoogleCloudAgent@NiansuhAI,+HTMLAgent@NiansuhAI,+JavaAgent@NiansuhAI,+JavaScriptAgent@NiansuhAI,+llama-3.1-70b@NiansuhAI,+llama-3.1-8b@NiansuhAI,+meta-llama/Llama-3.2-11B-Vision-Instruct@NiansuhAI,+meta-llama/Llama-3.2-90B-Vision-Instruct@NiansuhAI,+meta-llama/Meta-Llama-3.1-70B-Instruct@NiansuhAI,+meta-llama/Meta-Llama-3.1-8B-Instruct@NiansuhAI,+mistralai/Mistral-7B-Instruct-v0.3@NiansuhAI,+PythonAgent@NiansuhAI,+PyTorchAgent@NiansuhAI,+Qwen/Qwen2.5-72B-Instruct@NiansuhAI,+ReactAgent@NiansuhAI,+XcodeAgent@NiansuhAI,+SwiftDeveloper@NiansuhAI # ,+llama-3.1-405b-reasoning@NAI (Not Available)"-all,+" # Expose port 3000 for accessing the application EXPOSE 3000 # Specify the command to run the application CMD ["npm", "run", "start"]