~vpzom/lotide

ref: 538dd61f902247e5a65bb33fdf449181f43e8f5f lotide/Dockerfile -rw-r--r-- 304 bytes
538dd61fColin Reeder Add email_address to person table and signup API 9 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"]