~vpzom/lotide

ref: 6f183c37ed24dfe1b8fc69a68f31b10bda3e49bd lotide/Dockerfile -rw-r--r-- 304 bytes
6f183c37Colin Reeder Update docs with new env variables 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"]