twatch/Dockerfile

17 lines
329 B
Docker
Raw Normal View History

2022-10-28 23:16:00 +02:00
FROM harbor.front.kjuulh.io/docker-proxy/library/rust:slim-bullseye AS builder
2022-04-04 22:22:59 +02:00
COPY . /app/builder/
WORKDIR /app/builder/
RUN cargo build --release
2022-10-28 23:16:00 +02:00
FROM harbor.front.kjuulh.io/docker-proxy/library/debian:bullseye-slim
2022-04-04 22:22:59 +02:00
COPY --from=builder /app/builder/target/release/ /app/
WORKDIR /app/
2022-04-04 22:34:00 +02:00
ENV RUST_LOG info
2022-10-28 23:16:00 +02:00
CMD ["./twatch"]