fix bugs
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM rust:slim-bullseye AS builder
|
||||
FROM harbor.front.kjuulh.io/docker-proxy/library/rust:slim-bullseye AS builder
|
||||
|
||||
COPY . /app/builder/
|
||||
|
||||
@@ -6,11 +6,11 @@ WORKDIR /app/builder/
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
FROM harbor.front.kjuulh.io/docker-proxy/library/debian:bullseye-slim
|
||||
|
||||
COPY --from=builder /app/builder/target/release/ /app/
|
||||
WORKDIR /app/
|
||||
|
||||
ENV RUST_LOG info
|
||||
|
||||
CMD ["./twatch"]
|
||||
CMD ["./twatch"]
|
||||
|
Reference in New Issue
Block a user