parent
							
								
									a70ae8799d
								
							
						
					
					
						commit
						baca00c59e
					
				|  | @ -59,10 +59,15 @@ Fork Chatbot UI on Replit [here](https://replit.com/@MckayWrigley/chatbot-ui-pro | ||||||
| 
 | 
 | ||||||
| **Docker** | **Docker** | ||||||
| 
 | 
 | ||||||
|  | Build locally: | ||||||
| ```shell | ```shell | ||||||
| docker build -t chatgpt-ui . | docker build -t chatgpt-ui . | ||||||
| docker run -e OPENAI_API_KEY=xxxxxxxx -p 3000:3000 chatgpt-ui | docker run -e OPENAI_API_KEY=xxxxxxxx -p 3000:3000 chatgpt-ui | ||||||
| ``` | ``` | ||||||
|  | Pull from ghcr: | ||||||
|  | ``` | ||||||
|  | docker run -e OPENAI_API_KEY=xxxxxxxx -p 3000:3000 ghcr.io/mckaywrigley/chatbot-ui:main | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| ## Running Locally | ## Running Locally | ||||||
| 
 | 
 | ||||||
|  | @ -86,6 +91,8 @@ Create a .env.local file in the root of the repo with your OpenAI API Key: | ||||||
| OPENAI_API_KEY=YOUR_KEY | OPENAI_API_KEY=YOUR_KEY | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | > you can set `OPENAI_API_HOST` where access to the official OpenAI host is restricted or unavailable, allowing users to configure an alternative host for their specific needs. | ||||||
|  | 
 | ||||||
| **4. Run App** | **4. Run App** | ||||||
| 
 | 
 | ||||||
| ```bash | ```bash | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue