update Dockerfile

This commit is contained in:
2023-01-12 23:39:42 +01:00
parent 3301f9991e
commit 8f28548059

View File

@@ -14,7 +14,7 @@ RUN npm i
RUN npm run build RUN npm run build
# install go dependencies # install go dependencies
WORKDIR /usr/src/yt-dlp-webui WORKDIR /usr/src/yt-dlp-webui
RUN npm go build -o yt-dlp-webui RUN go build -o yt-dlp-webui
# expose and run # expose and run
EXPOSE 3033 EXPOSE 3033
CMD [ "yt-dlp-webui" , "--out", "./downloads" ] CMD [ "yt-dlp-webui" , "--out", "./downloads" ]