Compare commits
5 Commits
438416bec1
...
d9827f0ccf
Author | SHA1 | Date | |
---|---|---|---|
d9827f0ccf
|
|||
77fa0c5fd5
|
|||
d3a35cd81f
|
|||
b524048563
|
|||
4ab4ac5fee
|
16
.woodpecker/.deploy.yaml
Normal file
16
.woodpecker/.deploy.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
steps:
|
||||||
|
- name: publish
|
||||||
|
image: woodpeckerci/plugin-kaniko
|
||||||
|
settings:
|
||||||
|
registry: rg.fr-par.scw.cloud
|
||||||
|
repo: rg.fr-par.scw.cloud/asr-projects
|
||||||
|
tags: ${CI_COMMIT_SHA}
|
||||||
|
cache: true
|
||||||
|
build_args:
|
||||||
|
- COMMIT_SHA=${CI_COMMIT_SHA}
|
||||||
|
- COMMIT_AUTHOR_EMAIL=${CI_COMMIT_AUTHOR_EMAIL}
|
||||||
|
username:
|
||||||
|
from_secret: registry-username
|
||||||
|
password:
|
||||||
|
from_secret: registry-password
|
||||||
|
debug: true
|
@@ -13,14 +13,15 @@ dioxus = "0.5.*"
|
|||||||
dioxus-free-icons = { version = "0.8", features = ["material-design-icons-navigation", "ionicons"] }
|
dioxus-free-icons = { version = "0.8", features = ["material-design-icons-navigation", "ionicons"] }
|
||||||
dioxus-sdk = { version = "0.5.*", features = ["utils"] }
|
dioxus-sdk = { version = "0.5.*", features = ["utils"] }
|
||||||
|
|
||||||
matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk.git", branch = "main", default-features = false, features = ["js", "rustls-tls"] }
|
# matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk.git", branch = "main", default-features = false, features = ["js", "rustls-tls"] }
|
||||||
|
matrix-sdk = { version = "0.7.*", default-features = false, features = ["js", "rustls-tls"] }
|
||||||
|
|
||||||
anyhow = "1.0.75"
|
anyhow = "1.0.75"
|
||||||
url = "2.5.0"
|
url = "2.5.0"
|
||||||
dirs = "5.0.1"
|
dirs = "5.0.1"
|
||||||
ctrlc-async = "3.2.2"
|
ctrlc-async = "3.2.2"
|
||||||
thiserror = "1.0.50"
|
thiserror = "1.0.50"
|
||||||
turf = "0.7.0"
|
turf = "0.8.*"
|
||||||
tokio = { version = "1.34.0", default-features = false, features = ["rt", "sync"] }
|
tokio = { version = "1.34.0", default-features = false, features = ["rt", "sync"] }
|
||||||
log = "0.4.20"
|
log = "0.4.20"
|
||||||
futures-util = "0.3.29"
|
futures-util = "0.3.29"
|
||||||
@@ -40,6 +41,8 @@ web-sys = { version = "0.3.69" }
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
regex = "1.10.3"
|
regex = "1.10.3"
|
||||||
|
[package.metadata.turf]
|
||||||
|
minify = true
|
||||||
|
|
||||||
[package.metadata.turf.class_names]
|
[package.metadata.turf.class_names]
|
||||||
template = "<original_name>--<id>"
|
template = "<original_name>--<id>"
|
||||||
|
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
FROM rust:latest AS builder
|
||||||
|
|
||||||
|
WORKDIR /usr/src/beau-gosse-du-92
|
||||||
|
|
||||||
|
COPY ./fonts ./fonts
|
||||||
|
COPY ./images ./images
|
||||||
|
|
||||||
|
|
||||||
|
COPY ./Dioxus.toml .
|
||||||
|
COPY Cargo.* .
|
||||||
|
COPY ./build.rs .
|
||||||
|
COPY ./src ./src
|
||||||
|
|
||||||
|
RUN cargo install dioxus-cli
|
||||||
|
RUN dx build -r --platform web
|
||||||
|
|
||||||
|
|
||||||
|
FROM nginx:mainline-alpine-slim
|
||||||
|
|
||||||
|
COPY --from=builder /usr/src/beau-gosse-du-92/dist /usr/share/nginx/html
|
Reference in New Issue
Block a user