vivaplusdl/Dockerfile
Sebastiaan de Schaetzen f3c359d7a2
All checks were successful
Build / build (push) Successful in 4m4s
Ensure yt-dlp is installed
2025-02-07 12:10:25 +01:00

19 lines
370 B
Docker

FROM mcr.microsoft.com/playwright:v1.50.1-noble
RUN apt-get update &&\
apt-get install -y golang-1.23-go yt-dlp ffmpeg &&\
apt-get clean &&\
rm -rf /var/lib/apt/lists/*
ENV PATH="/usr/lib/go-1.23/bin/:$PATH"
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY migrations ./migrations
COPY *.go ./
RUN go build -o /vivaplusdl
CMD ["/vivaplusdl"]