~vpzom/bracketmonster

ref: df9d1a529b22637516f67676593eb723b60a7e75 bracketmonster/brackend/Dockerfile -rw-r--r-- 277 bytes
df9d1a52Colin Reeder brackend: use alpine for docker 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
FROM alpine:3.12 AS builder
RUN apk add --no-cache cargo
WORKDIR /usr/src/brackend
COPY Cargo.* ./
COPY src ./src
RUN cargo build --release

FROM alpine:3.12
RUN apk add --no-cache libgcc
COPY --from=builder /usr/src/brackend/target/release/brackend /usr/bin/
CMD ["brackend"]