To pull the latest changes for LibreChat using Docker, while also considering the caching of images, you can follow these steps:
- Stop the running LibreChat container(s):
docker compose down
- CD to your librechat repository:
cd C:\Users\david\source\librechat
- Pull the latest changes from the LibreChat Git repository:
git pull
- If you're using the default setup with pre-built images, pull the latest LibreChat image:
docker compose pull
- Check if
.env.example
has new LLM models and copy them over to your.env
file
ANTHROPIC_MODELS=claude-3-opus-20240229,claude-3-sonnet-20240229,claude-3-haiku-20240307,claude-2.1,claude-2,claude-1.2,claude-1,claude-1-100k,claude-instant-1,claude-instant-1-100k
GOOGLE_MODELS=gemini-1.5-flash-latest,gemini-1.0-pro,gemini-1.0-pro-001,gemini-1.0-pro-latest,gemini-1.0-pro-vision-latest,gemini-1.5-pro-latest,gemini-pro,gemini-pro-vision
OPENAI_MODELS=gpt-4o,gpt-3.5-turbo-0125,gpt-3.5-turbo-0301,gpt-3.5-turbo,gpt-4,gpt-4-0613,gpt-4-vision-preview,gpt-3.5-turbo-0613,gpt-3.5-turbo-16k-0613,gpt-4-0125-preview,gpt-4-turbo-preview,gpt-4-1106-preview,gpt-3.5-turbo-1106,gpt-3.5-turbo-instruct,gpt-3.5-turbo-instruct-0914,gpt-3.5-turbo-16k
- Start the updated LibreChat container(s):
docker compose up -d
- Visit http://localhost:3080/c/new to use the site