| version: '3.8' | |
| services: | |
| backend: | |
| build: ./backend_files | |
| ports: | |
| - "7860:7860" | |
| command: gunicorn -w 4 -b 0.0.0.0:7860 app:app | |
| frontend: | |
| build: ./frontend_files | |
| ports: | |
| - "8501:8501" | |
| command: streamlit run app.py --server.port=8501 --server.address=0.0.0.0 | |
| depends_on: | |
| - backend |