From 76e8832071aa98509a9130b4807776cdfd9403b0 Mon Sep 17 00:00:00 2001 From: marcobaobao Date: Fri, 13 Jan 2023 11:44:04 +0100 Subject: [PATCH] updated Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bd19ee6..8a85917 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3.17 # folder structure WORKDIR /usr/src/yt-dlp-webui/downloads -VOLUME /usr/src/yt-dlp-webui/downloads +VOLUME /downloads WORKDIR /usr/src/yt-dlp-webui # install core dependencies RUN apk update @@ -17,4 +17,4 @@ WORKDIR /usr/src/yt-dlp-webui RUN go build -o yt-dlp-webui # expose and run EXPOSE 3033 -CMD [ "yt-dlp-webui" , "--out", "./downloads" ] +CMD [ "./yt-dlp-webui" , "--out", "/downloads" ]