invite-gen/Dockerfile

13 lines
236 B
Docker
Raw Normal View History

2024-04-21 07:06:58 +02:00
FROM rust:alpine3.19 as builder
WORKDIR /opt/build
COPY . .
RUN cargo b -r
FROM alpine:3.19
COPY . /usr/share/invite-maker-src
COPY --from=builder /opt/build/target/invite-maker /usr/bin/invite-maker
CMD [ "/usr/bin/invite-maker" ]