~vpzom/hitide

ref: c67ad438cf8f8cbaf2876a2b1a0f338016f4d4e2 hitide/Dockerfile -rw-r--r-- 309 bytes
c67ad438Colin Reeder proc_macro_hygiene is stable now 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
FROM rust:1.45-alpine AS builder
RUN apk add --no-cache cargo openssl-dev
WORKDIR /usr/src/hitide
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/hitide/target/release/hitide /usr/bin/
CMD ["hitide"]