ytdl-web/Dockerfile

16 lines
214 B
Docker

ARG ALPINE_VERSION="3.17"
FROM alpine:${ALPINE_VERSION}
WORKDIR /app
RUN apk add --no-cache yt-dlp ffmpeg
COPY ytdl-web ./
EXPOSE 8080
ENV YTDL_PORT=8080 \
YTDL_LISTEN=0.0.0.0
ENTRYPOINT [ "./ytdl-web" ]