Skip to content

Commit

Permalink
Update Dockerfile to use ssr feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Eason0729 authored Aug 23, 2024
1 parent 7b58db5 commit d0efd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN rustup target add ${ARCH}-unknown-linux-musl
ENV LEPTOS_OUTPUT_NAME="mdoj"
ENV LEPTOS_BIN_TARGET_TRIPLE=${ARCH}-unknown-linux-musl

RUN cargo leptos build -p frontend --bin-features compress,hydrate --release --precompress -vv
RUN cargo leptos build -p frontend --bin-features compress,ssr --release --precompress -vv

FROM scratch
WORKDIR /config
Expand Down

0 comments on commit d0efd20

Please sign in to comment.