initial commit for public eval
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user