#NiansuhAI #Narra
Browse files- Dockerfile +2 -5
    	
        Dockerfile
    CHANGED
    
    | @@ -2,10 +2,10 @@ | |
| 2 | 
             
            FROM node:18
         | 
| 3 |  | 
| 4 | 
             
            # Clone the ChatGPT repository from GitHub
         | 
| 5 | 
            -
            RUN git clone  | 
| 6 |  | 
| 7 | 
             
            # Set the working directory inside the container
         | 
| 8 | 
            -
            WORKDIR " | 
| 9 |  | 
| 10 | 
             
            # Install dependencies using npm
         | 
| 11 | 
             
            RUN npm install
         | 
| @@ -13,9 +13,6 @@ RUN npm install | |
| 13 | 
             
            # Build the project
         | 
| 14 | 
             
            RUN npm run build
         | 
| 15 |  | 
| 16 | 
            -
            # Define environment variables
         | 
| 17 | 
            -
            ENV CUSTOM_MODELS=-all,+gpt-4-turbo-preview,+gpt-4-vision-preview,+gpt-3.5-turbo-16k,+Creative,+Balanced,+Precise
         | 
| 18 | 
            -
             | 
| 19 | 
             
            # Expose port 3000 for accessing the application
         | 
| 20 | 
             
            EXPOSE 3000
         | 
| 21 |  | 
|  | |
| 2 | 
             
            FROM node:18
         | 
| 3 |  | 
| 4 | 
             
            # Clone the ChatGPT repository from GitHub
         | 
| 5 | 
            +
            RUN git clone https://github.com/RKIAI/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
         | 
|  | |
| 13 | 
             
            # Build the project
         | 
| 14 | 
             
            RUN npm run build
         | 
| 15 |  | 
|  | |
|  | |
|  | |
| 16 | 
             
            # Expose port 3000 for accessing the application
         | 
| 17 | 
             
            EXPOSE 3000
         | 
| 18 |  | 

