twatch/Dockerfile

16 lines
240 B
Docker
Raw Normal View History

2022-04-04 22:22:59 +02:00
FROM rust:slim-bullseye AS builder
COPY . /app/builder/
WORKDIR /app/builder/
RUN cargo build --release
FROM debian:bullseye-slim
COPY --from=builder /app/builder/target/release/ /app/
WORKDIR /app/
2022-04-04 22:34:00 +02:00
ENV RUST_LOG info
2022-04-04 22:22:59 +02:00
CMD ["./twatch"]