Team15 / Makefile
Gabriel Vidal-Ayrinhac
wip
a04c70d
raw
history blame
713 Bytes
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