File size: 781 Bytes
65879b1 | 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 | version: '3.8'
services:
opteee-dev:
build: .
ports:
- "7860:7860"
volumes:
# Mount source code for hot reload
- ./app_enhanced.py:/app/app_enhanced.py
- ./app.py:/app/app.py
- ./rag_pipeline.py:/app/rag_pipeline.py
- ./vector_search.py:/app/vector_search.py
- ./static:/app/static
- ./templates:/app/templates
# Mount configuration files
- ./.env:/app/.env
environment:
- GRADIO_SERVER_NAME=0.0.0.0
- GRADIO_SERVER_PORT=7860
- GRADIO_RELOAD=true
env_file:
- .env
command: >
sh -c "
echo 'Starting development server with hot reload...' &&
python app_enhanced.py
"
# Keep container running even if app crashes
restart: unless-stopped |