Update Dockerfile
Browse files- Dockerfile +2 -23
Dockerfile
CHANGED
@@ -1,25 +1,4 @@
|
|
1 |
-
|
2 |
-
FROM node:18
|
3 |
-
|
4 |
-
# Clone the ChatGPT repository from GitHub
|
5 |
-
RUN git clone https://github.com/Niansuh/ChatGPT-Next-Web.git
|
6 |
-
|
7 |
-
# Set the working directory inside the container
|
8 |
-
WORKDIR "ChatGPT-Next-Web"
|
9 |
-
|
10 |
-
# Install dependencies using npm
|
11 |
-
RUN npm install
|
12 |
-
|
13 |
-
# Build the project
|
14 |
-
RUN npm run build
|
15 |
|
16 |
# Define environment variables
|
17 |
-
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
|
18 |
-
|
19 |
-
# ,+llama-3.1-405b-reasoning@NAI (Not Available)"-all,+"
|
20 |
-
# Expose port 3000 for accessing the application
|
21 |
-
|
22 |
-
EXPOSE 3000
|
23 |
-
|
24 |
-
# Specify the command to run the application
|
25 |
-
CMD ["npm", "run", "start"]
|
|
|
1 |
+
FROM yidadaa/chatgpt-next-web
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Define environment variables
|
4 |
+
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|