Skip to content

Commit

Permalink
enable wasm_bindgen weak refs
Browse files Browse the repository at this point in the history
  • Loading branch information
akarras committed Jan 19, 2024
1 parent f6a2f3f commit 163fbb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ WORKDIR /app
RUN apt install -y git pkg-config fontconfig libfontconfig1-dev binaryen
COPY . .
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
ENV WASM_BINDGEN_WEAKREF=1
RUN cargo leptos --manifest-path=./Cargo.toml build --release -vv

FROM debian:bookworm-slim as runner
Expand All @@ -35,4 +36,4 @@ ENV LEPTOS_ENVIRONMENT="production"
ENV LEPTOS_SITE_ADDR="0.0.0.0:8080"
ENV LEPTOS_SITE_ROOT="site"
EXPOSE 8080
CMD ["/app/ultros"]
CMD ["/app/ultros"]

0 comments on commit 163fbb7

Please sign in to comment.