Update Dockerfile

This commit is contained in:
Marco
2023-01-21 18:04:01 +01:00
committed by GitHub
parent 245b70f654
commit 5e51bf7ff5

View File

@@ -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" ]