Files
drc-ners-nlp/compose.yml
T
2025-10-05 21:54:25 +02:00

24 lines
544 B
YAML

services:
app:
build:
context: .
dockerfile: Dockerfile
image: drc-ners:uv
working_dir: /app
tty: true
stdin_open: true
environment:
NERS_ENV: production
STREAMLIT_SERVER_ADDRESS: 0.0.0.0
PYTHONPATH: /app/src
# expose Streamlit for `ners web run`
ports:
- "8501:8501"
volumes:
- ./src:/app/src
- ./assets:/app/assets
- ./config:/app/config
- ./data:/app/data
# default command shows CLI help; override per run
command: ["ners", "--help"]