| version: "3.9" | |
| services: | |
| app: | |
| image: streetview-app | |
| build: . | |
| env_file: | |
| - .env | |
| ports: | |
| - "${PORT}:${PORT}" | |
| environment: | |
| PORT: "${PORT}" | |
| command: > | |
| bash -lc "streamlit run app.py --server.port ${PORT} --server.address 0.0.0.0" | |
| volumes: | |
| # Keep local data & models outside the container | |
| - ./data:/app/data | |
| - ./models:/app/models | |
| - ./exports:/app/exports | |
| # Optional: mount a folder for temp caches (helps if you want persistence) | |
| - ./_tmp:/tmp |