1
0
Files
martillo-maldito/Dockerfile
2024-05-12 14:54:47 +02:00

12 lines
248 B
Docker

FROM rust:latest as builder
COPY . .
RUN cargo build --release
FROM ubuntu:latest
RUN apt update && apt upgrade -y && apt install iptables iptables-persistent -y
COPY --from=builder /target/release/martillo-maldito ./
CMD ["/martillo-maldito"]