add dev dockerfile

monorepo
Varun Patil 2023-10-25 14:35:03 -07:00
parent c6e9cca896
commit 10bc4362ba
1 changed files with 12 additions and 0 deletions

12
dev.Dockerfile 100644
View File

@ -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"]