Files
memvid--memvid/docker/core/docker-compose.yml
T
wehub-resource-sync 70cb81e982
CI / Test (macos-latest, stable) (push) Has been cancelled
CI / Test (ubuntu-latest, stable) (push) Has been cancelled
CI / Test (windows-latest, stable) (push) Has been cancelled
CI / Lint (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:45:24 +08:00

47 lines
1.0 KiB
YAML

services:
# Development environment
dev:
build:
context: ../..
dockerfile: docker/core/Dockerfile.dev
volumes:
- ../../:/app
- cargo-cache:/usr/local/cargo/registry
- target-cache:/app/target
environment:
- RUST_LOG=debug
- CARGO_TARGET_DIR=/app/target
stdin_open: true
tty: true
command: /bin/bash
# Test runner
test:
build:
context: ../..
dockerfile: docker/core/Dockerfile.test
volumes:
- ../../:/app
- cargo-cache:/usr/local/cargo/registry
- target-cache:/app/target
environment:
- RUST_BACKTRACE=1
- RUST_LOG=info
command: cargo test --features lex,pdf_extract -- --nocapture
# Build release
build:
build:
context: ../..
dockerfile: docker/core/Dockerfile
target: builder
volumes:
- ../../:/app
- cargo-cache:/usr/local/cargo/registry
- target-cache:/app/target
command: cargo build --release --features lex,pdf_extract
volumes:
cargo-cache:
target-cache: