mirror of
https://github.com/Syfaro/fuzzysearch.git
synced 2024-11-23 15:22:31 +00:00
11 lines
230 B
Docker
11 lines
230 B
Docker
|
FROM rustlang/rust:nightly-slim AS builder
|
||
|
WORKDIR /src
|
||
|
COPY . .
|
||
|
RUN cargo install --root / --path .
|
||
|
|
||
|
FROM debian:buster-slim
|
||
|
EXPOSE 8080
|
||
|
WORKDIR /app
|
||
|
COPY --from=builder /bin/fuzzysearch /bin/fuzzysearch
|
||
|
CMD ["/bin/fuzzysearch"]
|