diff --git a/Dockerfile b/Dockerfile index e0d4626..2198f2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,12 +9,13 @@ RUN apt-get update && apt-get install -y \ libssl-dev \ && rm -rf /var/lib/apt/lists/* -# Copy manifests +# Copy manifests and source COPY Cargo.toml Cargo.lock ./ +RUN mkdir -p src && echo '// workspace root' > src/lib.rs COPY crates ./crates # Build release binary -RUN cargo build --release --bin mem +RUN cargo build --release -p mem-cli --bin mem # Runtime stage FROM debian:bookworm-slim diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..ee4303f --- /dev/null +++ b/src/lib.rs @@ -0,0 +1 @@ +// Workspace root - integration tests live in tests/