chore(docker): default RUST_LOG to info, fix aarch64 build layer copy
This commit is contained in:
+1
-1
@@ -43,6 +43,6 @@ EXPOSE 1935
|
|||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
EXPOSE 6969/udp
|
EXPOSE 6969/udp
|
||||||
|
|
||||||
ENV RUST_LOG="info,warn"
|
ENV RUST_LOG="info"
|
||||||
|
|
||||||
CMD ["/rtmp-to-whip"]
|
CMD ["/rtmp-to-whip"]
|
||||||
|
|||||||
+2
-1
@@ -19,7 +19,6 @@ ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc \
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY Cargo.toml Cargo.lock ./
|
COPY Cargo.toml Cargo.lock ./
|
||||||
COPY crates/server/Cargo.toml crates/server/Cargo.toml
|
|
||||||
COPY crates/entity/Cargo.toml crates/entity/Cargo.toml
|
COPY crates/entity/Cargo.toml crates/entity/Cargo.toml
|
||||||
COPY crates/migration/Cargo.toml crates/migration/Cargo.toml
|
COPY crates/migration/Cargo.toml crates/migration/Cargo.toml
|
||||||
|
|
||||||
@@ -55,4 +54,6 @@ EXPOSE 1935
|
|||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
EXPOSE 6969/udp
|
EXPOSE 6969/udp
|
||||||
|
|
||||||
|
ENV RUST_LOG="info"
|
||||||
|
|
||||||
CMD ["/rtmp-to-whip"]
|
CMD ["/rtmp-to-whip"]
|
||||||
|
|||||||
Reference in New Issue
Block a user