add vps/Dockerfile.streamer

This commit is contained in:
2026-09-30 21:59:33 +02:00
parent 9d67a24d81
commit aa5474f43c
+9
View File
@@ -0,0 +1,9 @@
# Build on the generator machine or the VPS: docker build -f Dockerfile.streamer ..
FROM golang:1.23 AS build
WORKDIR /src
COPY . .
RUN go build -o /streamer ./cmd/streamer
FROM debian:bookworm-slim
COPY --from=build /streamer /usr/local/bin/streamer
ENTRYPOINT ["/usr/local/bin/streamer"]