add dev dockerfile
parent
c6e9cca896
commit
10bc4362ba
|
@ -0,0 +1,12 @@
|
|||
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"]
|
Loading…
Reference in New Issue