Avoid load data for each worker + fix Clippy warning

This commit is contained in:
Florian RICHER 2024-01-06 22:23:36 +01:00
parent 921658075f
commit 7611176a8e
3 changed files with 11 additions and 4 deletions

View file

@ -37,7 +37,7 @@ COPY --from=builder /app/data_src /app/data_src
WORKDIR /app
# Set any required env variables and
ENV RUST_LOG="info"
ENV RUST_LOG="warn"
ENV APP_ENVIRONMENT="production"
ENV LEPTOS_SITE_ADDR="0.0.0.0:8080"
ENV LEPTOS_SITE_ROOT="site"