twatch/Dockerfile
kjuulh 36c9d0f0e5
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
fix bugs
2022-10-28 23:16:00 +02:00

17 lines
329 B
Docker

FROM harbor.front.kjuulh.io/docker-proxy/library/rust:slim-bullseye AS builder
COPY . /app/builder/
WORKDIR /app/builder/
RUN cargo build --release
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"]