hardfight/Dockerfile
2023-10-10 11:05:10 +00:00

14 lines
333 B
Docker

FROM alpine/git:latest as ircie
WORKDIR /ircie
RUN git clone https://git.supernets.org/sad/ircie.git
FROM rust:1-bookworm as builder
WORKDIR /app
COPY . .
COPY --from=ircie /ircie/ /app/
RUN cargo build --release
FROM rust:1-bookworm as app
WORKDIR /hardfight
COPY --from=builder /app/target/release/hardfight .
CMD ["./hardfight"]