Skip to content

Commit

Permalink
updated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
marcopiovanello committed Jan 13, 2023
1 parent 7d2503f commit 76e8832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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" ]

0 comments on commit 76e8832

Please sign in to comment.