diff --git a/filed/Dockerfile b/filed/Dockerfile index e69de29..ad56973 100644 --- a/filed/Dockerfile +++ b/filed/Dockerfile @@ -0,0 +1,13 @@ +# --- 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 +CMD [ "/bin/filed" ] \ No newline at end of file