chore: upgrade to Dioxus 0.7
Some checks failed
actionlint check / actionlint check (pull_request) Successful in 8s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 4s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 8s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 8s
GitLeaks check / GitLeaks check (pull_request) Successful in 10s
hadolint check / hadolint check (pull_request) Failing after 33s
htmlhint check / htmlhint check (pull_request) Successful in 33s
markdownlint check / markdownlint check (pull_request) Successful in 29s
checkov check / checkov check (pull_request) Successful in 1m14s
Prettier check / Prettier check (pull_request) Successful in 30s
ShellCheck check / ShellCheck check (pull_request) Successful in 33s
Stylelint check / Stylelint check (pull_request) Successful in 30s
yamllint check / yamllint check (pull_request) Successful in 30s
Rust check / Rust check (pull_request) Failing after 5m50s

This commit is contained in:
2025-12-17 19:47:28 +01:00
parent 16db7ac2b9
commit 49665b3a3f
109 changed files with 3454 additions and 11983 deletions

View File

@@ -1,16 +1,16 @@
FROM rust:1.88.0-bookworm@sha256:5771a3cc2081935c59ac52b92d49c9e164d4fed92c9f6420aa8cc50364aead6e
FROM rust:1.92.0-bookworm@sha256:9676d0547a259997add8f5924eb6b959c589ed39055338e23b99aba7958d6d31
RUN cargo install --locked dioxus-cli --version 0.6.3 \
&& cargo install --locked diesel_cli --version 2.2.7
RUN useradd -m -u 1000 -s /bin/bash app_user \
&& rustup target add wasm32-unknown-unknown
COPY . /srv/app
USER app_user
RUN cargo install --git https://github.com/diesel-rs/diesel --rev 2e85ba060d3d70ea605ea58a79b8a435749a7adc diesel_cli \
&& cargo install --git https://github.com/DioxusLabs/dioxus --rev 8f8b58ea80ba0ec8057807bcd58fb609f7a5f2b1 dioxus-cli
COPY --chown=app_user . /srv/app
WORKDIR /srv/app
RUN mkdir -p /.local/share/dioxus \
&& chown -R 1000:1000 /srv/app /usr/local/cargo /.local/share/dioxus
HEALTHCHECK CMD curl --fail -H "Accept: text/html" http://localhost:8000 || exit 1
USER 1000:1000
CMD ["sleep", "infinity"]