docs/docs/gpt-researcher/getting-started/getting-started-with-docker.md
Step 1 - Install & Open Docker Desktop
Follow instructions at https://www.docker.com/products/docker-desktop/
Step 2 - Follow this flow
This mainly includes cloning the '.env.example' file, adding your API Keys to the cloned file and saving the file as '.env'
In requirements.txt add the relevant langchain packages for the LLM your choose (langchain-google-genai, langchain-deepseek, langchain_mistralai for example)
Step 3 - Within root, run with Docker.
docker-compose up --build
If that doesn't work, try running it without the dash:
docker compose up --build
Step 4 - By default, if you haven't uncommented anything in your docker-compose file, this flow will start 2 processes:
Visit localhost:3000 on any browser and enjoy researching!
If you want to run the Docker container without using docker-compose, you can use the following command:
docker run -it --name gpt-researcher -p 8000:8000 --env-file .env -v /absolute/path/to/gptr_docs:/my-docs gpt-researcher
This will run the Docker container and mount the /gptr_docs directory to the container's /my-docs directory for analysis by the GPTR API Server.