From ccd08fbabb9884d8b767df458a4a8f16e4274e33 Mon Sep 17 00:00:00 2001 From: Falk Rehse <falk.rehse@tu-dortmund.de> Date: Mon, 21 Nov 2022 15:49:36 +0100 Subject: [PATCH] Fix rebranding --- Cargo.lock | 38 +++++++++++++++++++------------------- Cargo.toml | 2 +- Dockerfile | 4 ++-- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c3d3385..8a07a50 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -31,9 +31,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "bytes" -version = "1.2.1" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db" +checksum = "dfb24e866b15a1af2a1b663f10c6b6b8f397a84aadb828f12e5b289ec23a3a3c" [[package]] name = "camino" @@ -41,21 +41,6 @@ version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "88ad0e1e3e88dd237a156ab9f571021b8a158caa0ae44b1968a241efb5144c1e" -[[package]] -name = "cc-audio-websocket-server" -version = "0.1.0" -dependencies = [ - "base64", - "camino", - "futures-signals", - "rand", - "serde", - "serde_json", - "tungstenite", - "url", - "uuid", -] - [[package]] name = "cfg-if" version = "1.0.0" @@ -83,9 +68,9 @@ dependencies = [ [[package]] name = "digest" -version = "0.10.5" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adfbc57365a37acbd2ebf2b64d7e69bb766e2fea813521ed536f5d0520dcf86c" +checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" dependencies = [ "block-buffer", "crypto-common", @@ -391,6 +376,21 @@ dependencies = [ "autocfg", ] +[[package]] +name = "spoccify" +version = "0.1.0" +dependencies = [ + "base64", + "camino", + "futures-signals", + "rand", + "serde", + "serde_json", + "tungstenite", + "url", + "uuid", +] + [[package]] name = "syn" version = "1.0.103" diff --git a/Cargo.toml b/Cargo.toml index 141cba1..c37bbdc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "cc-audio-websocket-server" +name = "spoccify" version = "0.1.0" edition = "2021" diff --git a/Dockerfile b/Dockerfile index 4c6c05e..1a2a1d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,12 +2,12 @@ FROM docker.io/library/rust:alpine as builder RUN apk add rust WORKDIR /usr/src/spoccify COPY . . -RUN cargo install --path . +RUN cargo build --release FROM docker.io/library/alpine:latest RUN apk add ffmpeg yt-dlp RUN mkdir -p /usr/local/bin/tmp -COPY --from=builder /usr/local/cargo/bin/spoccify /usr/local/bin/spoccify +COPY --from=builder /usr/src/spoccify/target/release/spoccify /usr/local/bin/spoccify EXPOSE 80 -- GitLab