Some checks failed
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 11s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 9s
GitLeaks check / GitLeaks check (pull_request) Successful in 11s
markdownlint check / markdownlint check (pull_request) Successful in 20s
htmlhint check / htmlhint check (pull_request) Successful in 25s
hadolint check / hadolint check (pull_request) Failing after 57s
checkov check / checkov check (pull_request) Successful in 1m20s
Prettier check / Prettier check (pull_request) Successful in 34s
ShellCheck check / ShellCheck check (pull_request) Successful in 29s
Stylelint check / Stylelint check (pull_request) Failing after 29s
yamllint check / yamllint check (pull_request) Successful in 24s
Rust check / Rust check (pull_request) Failing after 2m6s
actionlint check / actionlint check (pull_request) Successful in 7s
18 lines
478 B
Docker
18 lines
478 B
Docker
FROM rust:1.92.0-bookworm@sha256:9676d0547a259997add8f5924eb6b959c589ed39055338e23b99aba7958d6d31
|
|
|
|
RUN useradd -m -u 1000 -s /bin/bash app_user
|
|
|
|
RUN rustup target add wasm32-unknown-unknown
|
|
|
|
USER app_user
|
|
|
|
RUN cargo install --locked dioxus-cli --version 0.7.2 \
|
|
&& cargo install --locked diesel_cli --version 2.3.4
|
|
|
|
COPY --chown=app_user . /srv/app
|
|
WORKDIR /srv/app
|
|
|
|
HEALTHCHECK CMD curl --fail -H "Accept: text/html" http://localhost:8000 || exit 1
|
|
|
|
CMD ["sleep", "infinity"]
|