Spaces:
Runtime error
Runtime error
File size: 676 Bytes
e99563f | 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 32 33 34 35 36 37 | version: "3.9"
services:
web:
build: .
ports:
- "8000:8000"
volumes:
- ./app:/app/app
- ./uploads:/app/uploads
- ./data:/app/data
- ./tests:/app/tests
env_file:
- .env
environment:
- GOOGLE_GEMINI_API_KEY
- OPENAI_API_KEY
- COHERE_API_KEY
- DEBUG
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
test:
build: .
volumes:
- ./app:/app/app
- ./tests:/app/tests
env_file:
- .env
environment:
- GOOGLE_GEMINI_API_KEY
- OPENAI_API_KEY
- COHERE_API_KEY
- DEBUG
command: pytest tests/ -v
profiles:
- test
|