Files
stream-proxy/Dockerfile
T
video-prize-ranch 8740f023a0 Fix livestreams
2022-04-30 12:01:28 -04:00

18 lines
351 B
Docker

FROM rust:alpine AS build
WORKDIR /src
RUN apk --no-cache add musl-dev git ca-certificates
RUN git clone https://codeberg.org/librarian/stream-proxy .
RUN cargo vendor
RUN cargo build --release
RUN ls target/release
FROM alpine:latest as bin
WORKDIR /app
COPY --from=build /src/target/release/stream-proxy .
EXPOSE 3001
CMD ["/app/stream-proxy"]