diff --git a/Cargo.lock b/Cargo.lock index 345311dd..b0b572d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2991,6 +2991,7 @@ dependencies = [ [[package]] name = "revolt-quark" version = "0.1.0" +source = "git+https://github.com/revoltchat/quark?rev=7585b7944f1a654a28f9902f2cf0f6778f7abd5a#7585b7944f1a654a28f9902f2cf0f6778f7abd5a" dependencies = [ "async-recursion", "async-std", diff --git a/Cargo.toml b/Cargo.toml index c67a56dd..95353326 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -65,4 +65,5 @@ mongodb = { version = "1.2.2", features = ["async-std-runtime"], default-feature rocket_cors = { git = "https://github.com/lawliet89/rocket_cors", rev = "5843861a88958c16bfaa0b40f0d8910772bcd2f6" } # quark -revolt-quark = { path = "/run/media/mink/oldssd/revolt/quark/" } +revolt-quark = { git = "https://github.com/revoltchat/quark", rev = "7585b7944f1a654a28f9902f2cf0f6778f7abd5a" } +# revolt-quark = { path = "/run/media/mink/oldssd/revolt/quark/" } diff --git a/Dockerfile b/Dockerfile index fb133234..8057a8f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,9 @@ WORKDIR /home/rust/src RUN USER=root cargo new --bin revolt WORKDIR /home/rust/src/revolt -COPY Cargo.toml Cargo.lock ./ -COPY src/bin/dummy.rs ./src/bin/dummy.rs -RUN apt-get update && apt-get install -y libssl-dev pkg-config && cargo build --release --bin dummy +RUN apt-get update && apt-get install -y libssl-dev pkg-config +COPY Cargo.toml Cargo.lock ./ COPY assets/templates ./assets/templates COPY src ./src RUN cargo install --locked --path . diff --git a/src/bin/dummy.rs b/src/bin/dummy.rs deleted file mode 100644 index f328e4d9..00000000 --- a/src/bin/dummy.rs +++ /dev/null @@ -1 +0,0 @@ -fn main() {}