Files
tso-paper-eval/compose.yml
T
2026-05-27 21:00:28 +02:00

22 lines
713 B
YAML

# docker compose up -> runs `make all`, writes eval/out/.
# RAW_DATA_ROOT=/path docker compose up -> point at a different raw_data tree.
#
# RAW_DATA_ROOT outside the container = host path to mount (read by compose).
# Inside the container it always resolves to /raw_data via the `environment:`
# clause below; the host value is only consumed by the volume substitution.
services:
eval:
build: .
image: eval
user: "${UID:-1000}:${GID:-1000}"
volumes:
- .:/work/eval
- ${RAW_DATA_ROOT:-../raw_data}:/raw_data:ro
environment:
RAW_DATA_ROOT: /raw_data
HOME: /tmp
UV_CACHE_DIR: /tmp/uv-cache
working_dir: /work/eval
command: make all