File size: 713 Bytes
a04c70d
 
 
 
7d6d833
 
 
 
a04c70d
7d6d833
 
a04c70d
 
 
 
 
 
 
 
 
 
7d6d833
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
include .env
export $(shell sed 's/=.*//' .env)


build:
	docker build -t team15:latest .

run: # run source .env file for api keys
	docker run  -p 8080:8080 \
		-e MISTRAL_API_KEY=$(MISTRAL_API_KEY) \
		-e ELEVENLABS_API_KEY=$(ELEVENLABS_API_KEY) \
		-e CUSTOM_API_URL=$(CUSTOM_API_URL) \
		--user=1000:1000 \
		team15:latest

run.dev:
	docker run  -p 8080:8080 \
		-e MISTRAL_API_KEY=$(MISTRAL_API_KEY) \
		-e ELEVENLABS_API_KEY=$(ELEVENLABS_API_KEY) \
		-e CUSTOM_API_URL=localhost:8080/api \
		--user=1000:1000 \
		team15:latest

dev:
	supervisord -c supervisord.dev.conf

dev.api:
	fastapi dev src/hackathon/server/server.py --host 0.0.0.0 --port 3000

dev.unity:
	cd WebGLBuild && python -m http.server 8080