fishctl/Containerfile
2024-07-01 14:38:57 +09:00

10 lines
296 B
Docker

FROM docker.io/rust:alpine AS builder
WORKDIR /fishctl
COPY . .
RUN apk add --no-cache musl-dev
RUN cargo install --locked --path .
FROM docker.io/busybox:musl
COPY README.md LICENSE-APACHE LICENSE-MIT ./
COPY --from=builder /usr/local/cargo/bin/fishctl /usr/local/bin/fishctl
WORKDIR /firefish