fix(ci): copy templates/ for compile-time include_str
This commit is contained in:
+2
-1
@@ -10,10 +10,11 @@ RUN apt-get update && apt-get install -y \
|
|||||||
g++ \
|
g++ \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Copy manifests and source
|
# Copy manifests, source, and compile-time assets
|
||||||
COPY Cargo.toml Cargo.lock ./
|
COPY Cargo.toml Cargo.lock ./
|
||||||
RUN mkdir -p src && echo '// workspace root' > src/lib.rs
|
RUN mkdir -p src && echo '// workspace root' > src/lib.rs
|
||||||
COPY crates ./crates
|
COPY crates ./crates
|
||||||
|
COPY templates ./templates
|
||||||
|
|
||||||
# Build release binary
|
# Build release binary
|
||||||
RUN cargo build --release -p mem-cli --bin mem
|
RUN cargo build --release -p mem-cli --bin mem
|
||||||
|
|||||||
Reference in New Issue
Block a user