Makefile 490 Bytes
Newer Older
1
2
3
4
install:
	@docker-compose up -d

remove:
5
6
7
	@chmod +x confirm_remove.sh
	@./confirm_remove.sh

8
9
10

start:
	@docker-compose start
Patrice-Gaudicheau's avatar
Patrice-Gaudicheau committed
11
12
startanbuild: 
	docker-compose up -d --build
13
14
15
16
17

stop:
	@docker-compose stop

update:
18
	# Calls the LLM update script
19
20
	chmod +x update_ollama_models.sh
	@./update_ollama_models.sh
21
22
	@git pull
	@docker-compose down
23
	# Make sure the ollama-webui container is stopped before rebuilding
24
	@docker stop open-webui || true
25
26
27
	@docker-compose up --build -d
	@docker-compose start