FROM rust:slim
WORKDIR /usr/src/refractr
COPY . .
RUN cargo build --release
RUN cargo install --locked --path .
CMD ["refractr"]