12 lines
309 B
Docker
12 lines
309 B
Docker
FROM docker.io/rust:alpine as builder
|
|
WORKDIR /build/pass_manager
|
|
RUN apk -U upgrade --no-cache && apk add --no-cache musl-dev
|
|
COPY . .
|
|
RUN cargo install --path .
|
|
|
|
FROM docker.io/alpine
|
|
WORKDIR /app/
|
|
RUN apk -U upgrade --no-cache
|
|
COPY --from=builder /usr/local/cargo/bin/pass_manager .
|
|
CMD ["./pass_manager"]
|