turn-api/Containerfile

9 lines
203 B
Docker

FROM alpine as builder
RUN apk add cargo
COPY . /turn-api
WORKDIR /turn-api
RUN cargo build --release
FROM alpine
RUN apk add libgcc
COPY --from=builder /turn-api/target/release/turn-api /
CMD /turn-api