~vpzom/lotide

ref: 8256492cbd43ded7041360ebc084665ab7eb53ed lotide/Dockerfile -rw-r--r-- 304 bytes
8256492cColin Reeder Add API for removing community moderators 10 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"]