9 lines
373 B
Docker
9 lines
373 B
Docker
FROM docker.io/rust:1.54-alpine3.14 AS builder
|
|
RUN apk --update --no-cache add build-base pkgconf glib-dev gstreamer-dev libnice-dev
|
|
COPY . .
|
|
RUN cargo build --release -p gst-meet
|
|
|
|
FROM docker.io/alpine:3.14
|
|
RUN apk --update --no-cache add glib gstreamer libnice libc6-compat
|
|
COPY --from=builder target/release/gst-meet /usr/local/bin
|
|
ENTRYPOINT ["/usr/local/bin/gst-meet"] |