memories/Dockerfile

15 lines
301 B
Docker
Raw Normal View History

2023-03-17 17:41:09 +00:00
FROM golang:bullseye AS builder
WORKDIR /app
COPY . .
RUN CGO_ENABLED=0 go build -buildvcs=false -ldflags="-s -w"
FROM ubuntu:22.04
WORKDIR /app
ENV DEBIAN_FRONTEND=noninteractive
COPY ./build-ffmpeg.sh .
2023-05-31 15:59:28 +00:00
RUN bash ./build-ffmpeg.sh
2023-03-17 17:41:09 +00:00
COPY --from=builder /app/go-vod .
EXPOSE 47788
2023-04-12 20:20:57 +00:00
CMD ["/app/go-vod"]