14 lines
221 B
Docker
14 lines
221 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/
|
|
|
|
CMD ["./twatch"] |