diff --git a/Dockerfile b/Dockerfile index 819afb8b..2224e6ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ FROM rustlang/rust:nightly-bullseye as builder # Thank you benwis https://github.com/benwis/benwis_leptos/blob/main/Dockerfile -RUN cargo install --locked cargo-leptos -RUN rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu -RUN rustup target add wasm32-unknown-unknown RUN mkdir -p /app WORKDIR /app COPY . . +RUN cargo install --locked cargo-leptos +RUN rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu +RUN rustup target add wasm32-unknown-unknown # ENV LEPTOS_BIN_TARGET_TRIPLE="x86_64-unknown-linux-gnu" ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse RUN cargo leptos --manifest-path=./Cargo.toml build --release -vv