~vpzom/lotide

ref: daea3783bd37636691a51641b14fc2cf7bd381c9 lotide/Dockerfile -rw-r--r-- 304 bytes
daea3783 — Colin Reeder Merge branch 'ratelimit' into master 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
FROM alpine:3.12 AS builder
RUN apk add --no-cache cargo openssl-dev
WORKDIR /usr/src/lotide
COPY Cargo.* ./
COPY src ./src
COPY res ./res
RUN cargo build --release

FROM alpine:3.12
RUN apk add --no-cache libgcc openssl
COPY --from=builder /usr/src/lotide/target/release/lotide /usr/bin/
CMD ["lotide"]