fix(ci): add workspace root src/lib.rs, fix Docker build target
Build and Push / Test (push) Successful in 3m11s
Build and Push / Build and push image (push) Failing after 20s

This commit is contained in:
Story Crater Bot
2026-08-23 17:47:19 -07:00
parent 13a81b4202
commit 5464350723
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -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