From 59417434183397a2abdcbf133a74193b3ef93021 Mon Sep 17 00:00:00 2001 From: marcobaobao Date: Sat, 5 Nov 2022 15:35:29 +0100 Subject: [PATCH] updated dockerfile --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 055b663..5598a8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,11 +9,10 @@ RUN apk add curl wget psmisc python3 ffmpeg COPY . . RUN chmod +x ./fetch-yt-dlp.sh # install node dependencies -RUN npm i -g yarn -RUN yarn -RUN yarn build -RUN yarn build-server -RUN yarn run fetch +RUN npm +RUN npm run build +RUN npm run build-server +RUN npm run fetch # expose and run EXPOSE 3022 CMD [ "node" , "./dist/main.js" ]