bfile/filed/Dockerfile.prod

14 lines
204 B
Docker
Raw Normal View History

2023-09-29 12:56:35 +02:00
# --- build ---
FROM rust:alpine as builder
WORKDIR /opt/build
COPY . .
RUN cargo b -r
# --- deploy ---
FROM alpine
COPY --from=builder /opt/build/target/release/filed /bin/filed
2023-09-29 12:58:13 +02:00
CMD [ "/bin/filed" ]