~vpzom/bracketmonster

ref: bd165fcdff7d65503132b761848379e5df767c7e bracketmonster/brackend/Dockerfile -rw-r--r-- 237 bytes
bd165fcdColin Reeder Apply username restrictions for new accounts, too 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
FROM rust:1.42-slim-stretch AS builder
WORKDIR /usr/src/brackend
COPY Cargo.* ./
COPY src ./src
RUN cargo build --release

FROM debian:stretch-slim
COPY --from=builder /usr/src/brackend/target/release/brackend /usr/bin/
CMD ["brackend"]