docs: update `deployment.md` (#1898)
cargo-leptos@0.2.0 changes the file structure under target folder
This commit is contained in:
parent
8eed999611
commit
d6a9d2efdf
|
@ -54,7 +54,7 @@ RUN cargo leptos build --release -vv
|
|||
|
||||
FROM rustlang/rust:nightly-bullseye as runner
|
||||
# Copy the server binary to the /app directory
|
||||
COPY --from=builder /app/target/server/release/leptos_start /app/
|
||||
COPY --from=builder /app/target/release/leptos-start /app/
|
||||
# /target/site contains our JS/WASM/CSS, etc.
|
||||
COPY --from=builder /app/target/site /app/site
|
||||
# Copy Cargo.toml if it’s needed at runtime
|
||||
|
|
Loading…
Reference in New Issue