explain 0.1.0

This binary is for a future implementation of explain.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM rust:alpine as build

RUN apk add --no-cache build-base
RUN rustup default nightly && rustup update
WORKDIR /app
COPY . .
RUN cargo build --release

FROM scratch
COPY --from=build /app/target/release/explain .
ENV ROCKET_PORT=3000
EXPOSE ${ROCKET_PORT}

ENTRYPOINT ["./explain"]