Street-View-Labeling-Assistant / docker-compose.yml
Tan Zi Xu
S3 Integration and refactoring
c43c055
raw
history blame contribute delete
558 Bytes
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