stroke-classification / docker-compose.yml
melisklc0's picture
feat: Add initial project structure with Docker support and stroke classification model
b02f059
raw
history blame contribute delete
426 Bytes
services:
app:
build: .
ports:
- "8501:8501"
environment:
- STREAMLIT_SERVER_PORT=8501
healthcheck:
test:
[
"CMD",
"/app/.venv/bin/python",
"-c",
"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8501/_stcore/health', timeout=5).read()",
]
interval: 15s
timeout: 5s
start_period: 45s
retries: 3