docs: update `deployment.md` (#1898)

cargo-leptos@0.2.0 changes the file structure under target folder
This commit is contained in:
Quan Hua 2023-10-16 06:55:36 +07:00 committed by GitHub
parent 8eed999611
commit d6a9d2efdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 its needed at runtime