Spaces:
Niansuh
/
2
Sleeping

2
File size: 1,423 Bytes
d324b60
 
 
 
 
 
 
 
 
 
 
 
 
 
dccdd57
 
d324b60
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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,+claude-3-5-sonnet-20240620@NiansuhAI,+gpt-4o@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"]