fuzzysearch/Dockerfile
2020-01-17 17:21:30 -06:00

11 lines
215 B
Docker

FROM rust:1-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"]