19 lines
316 B
Docker
19 lines
316 B
Docker
ARG ALPINE_VERSION="3.18"
|
|
|
|
FROM alpine:${ALPINE_VERSION}
|
|
|
|
WORKDIR /app
|
|
|
|
# hadolint ignore=DL3018
|
|
RUN apk add --no-cache yt-dlp ffmpeg
|
|
|
|
COPY ytdl-web ./
|
|
|
|
EXPOSE 8080
|
|
|
|
ENV YTDL_HTTP_PORT=8080 \
|
|
YTDL_HTTP_LISTEN=0.0.0.0 \
|
|
YTDL_BINARYPATH=/usr/bin/yt-dlp \
|
|
YTDL_CONFIGDIR=/config
|
|
|
|
ENTRYPOINT [ "./ytdl-web" ] |