Fix vendored sources

This commit is contained in:
video-prize-ranch
2022-04-30 13:55:03 -04:00
parent 4b683bcf6b
commit ba7daee1b6
3 changed files with 7 additions and 8 deletions
+1 -7
View File
@@ -10,10 +10,4 @@ actix-web = { version = "4" }
awc = { version = "3", features = ["rustls"] }
bytes = "1.1.0"
lazy_static = "1.4.0"
regex = "1.5.5"
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
regex = "1.5.5"
+1 -1
View File
@@ -4,9 +4,9 @@ WORKDIR /src
RUN apk --no-cache add musl-dev git ca-certificates
RUN git clone https://codeberg.org/librarian/stream-proxy .
RUN mv ./config/cargo.toml ~/.cargo/config.toml
RUN cargo vendor
RUN cargo build --release
RUN ls target/release
FROM alpine:latest as bin
+5
View File
@@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"