From 5e51bf7ff502005fb0cef30e18166c5bdad8d0ad Mon Sep 17 00:00:00 2001 From: Marco <35533749+marcopeocchi@users.noreply.github.com> Date: Sat, 21 Jan 2023 18:04:01 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e9a5267..200c33f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,11 +23,13 @@ FROM alpine:3.17 WORKDIR /downloads VOLUME /downloads +WORKDIR /app + RUN apk update && \ apk add psmisc ffmpeg yt-dlp -COPY --from=build /usr/src/yt-dlp-webui /usr/bin/yt-dlp-webui -RUN chmod +x /usr/bin/yt-dlp-webui +COPY --from=build /usr/src/yt-dlp-webui /app/server +RUN chmod +x /app/server EXPOSE 3033 -CMD [ "/usr/bin/yt-dlp-webui" , "--out", "/downloads" ] +CMD [ "./server" , "--out", "/downloads" ]