Copilot / Dockerfile
Niansuh's picture
Update Dockerfile
6510e3f verified
# Use the Node.js 18 base image
FROM node:18
# Clone the ChatGPT repository from GitHub
RUN git clone -b Copilot https://github.com/Niansuh/LLMs.git
# Set the working directory inside the container
WORKDIR "LLMs"
# Install dependencies using npm
RUN npm install
# Build the project
RUN npm run build
# Define environment variables
ENV CUSTOM_MODELS=-all,+gpt-4-turbo-preview,+gpt-4-vision-preview,+gpt-3.5-turbo,+gpt-3.5-turbo-16k,+Creative-g4t,+Balanced-g4t,+Precise-g4t,+Creative-g4t-18k,+Balanced-g4t-18k,+Precise-g4t-18k,+Creative-g4t-offline,+Balanced-g4t-offline,+Precise-g4t-offline,+Creative,+Balanced,+Precise,+Creative-offline,+Balanced-offline,+Precise-offline,+Creative-18k,+Balanced-18k,+Precise-18k,+Creative-18k-offline,+Balanced-18k-offline,+Precise-18k-offline,+Creative-g4t-vision,+Balanced-g4t-vision,+Precise-g4t-vision,+Creative-g4t-18k-vision,+Balanced-g4t-18k-vision,+Precise-g4t-18k-vision,+Creative-g4t-offline-vision,+Balanced-g4t-offline-vision,+Precise-g4t-offline-vision,+Creative-vision,+Balanced-vision,+Precise-vision,+Creative-offline-vision,+Balanced-offline-vision,+Precise-offline-vision,+Creative-18k-vision,+Balanced-18k-vision,+Precise-18k-vision,+Creative-18k-offline-vision,+Balanced-18k-offline-vision,+Precise-18k-offline-vision
# Expose port 3000 for accessing the application
EXPOSE 3000
# Specify the command to run the application
CMD ["npm", "run", "start"]