~vpzom/lotide

ref: 44be4e1a63974411e7b31274b23b3fbd0458a9f6 lotide/Dockerfile -rw-r--r-- 350 bytes
44be4e1a — Colin Reeder Update INSTALL.md to use embedded migrations 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM alpine:3.12 AS builder
RUN apk add --no-cache cargo openssl-dev
WORKDIR /usr/src/lotide
COPY Cargo.* ./
COPY build.rs ./
COPY src ./src
COPY res ./res
COPY migrations ./migrations
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"]