13 lines
236 B
Docker
13 lines
236 B
Docker
|
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" ]
|