diff --git a/Dockerfile b/Dockerfile index fb9cd29..6e8f4b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,15 +25,13 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o yt-dlp-webui # ----------------------------------------------------------------------------- # dependencies ---------------------------------------------------------------- -FROM cgr.dev/chainguard/wolfi-base +FROM alpine:edge RUN apk update && \ -apk add ffmpeg ca-certificates python3 py3-pip wget +apk add ffmpeg yt-dlp ca-certificates curl wget VOLUME /downloads /config -RUN python3 -m pip install yt-dlp - WORKDIR /app COPY --from=build /usr/src/yt-dlp-webui/yt-dlp-webui /app diff --git a/Makefile b/Makefile index 75bf0a7..36f61ca 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,9 @@ default: fe: cd frontend && pnpm build +dev: + cd frontend && pnpm dev + all: $(MAKE) fe && cd .. CGO_ENABLED=0 go build -o yt-dlp-webui main.go