memories/go-vod/dev.Dockerfile

12 lines
218 B
Plaintext
Raw Permalink Normal View History

2023-10-25 21:35:03 +00:00
FROM golang:bullseye AS builder
WORKDIR /app
COPY . .
RUN CGO_ENABLED=0 go build -buildvcs=false -ldflags="-s -w"
FROM linuxserver/ffmpeg:latest
COPY --from=builder /app/go-vod .
EXPOSE 47788
ENTRYPOINT ["/go-vod"]