fuzzysearch/Dockerfile

11 lines
215 B
Docker
Raw Normal View History

2020-01-17 23:21:30 +00:00
FROM rust:1-slim AS builder
2020-01-17 23:13:24 +00:00
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"]