twatch/Dockerfile
kjuulh 448bfd1e56
All checks were successful
continuous-integration/drone/push Build is passing
add rustlog
2022-04-04 22:34:00 +02:00

16 lines
240 B
Docker

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/
ENV RUST_LOG info
CMD ["./twatch"]