code refactoring, updated dockerfile

This commit is contained in:
2023-06-23 09:21:09 +02:00
parent d6c0646756
commit e69829fcef
4 changed files with 11 additions and 6 deletions

View File

@@ -27,5 +27,7 @@ RUN apk update && \
COPY --from=build /usr/src/yt-dlp-webui/yt-dlp-webui /app
ENV JWT_SECRET=secret
EXPOSE 3033
CMD [ "./yt-dlp-webui" , "--out", "/downloads" ]
ENTRYPOINT [ "./yt-dlp-webui" , "--out", "/downloads" ]