diff --git a/Dockerfile b/Dockerfile index 20a80be..66deaf4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,13 +9,10 @@ RUN apk add curl wget psmisc python3 ffmpeg COPY . . RUN chmod +x ./fetch-yt-dlp.sh # install node dependencies -RUN npm install -RUN npm run build -RUN npm run build-server -RUN npm run fetch -# cleanup -RUN npm remove parcel -RUN rm -rf .parcel-cache +RUN yarn +RUN yarn build +RUN yarn build-server +RUN yarn run fetch # expose and run EXPOSE 3022 CMD [ "node" , "./dist/main.js" ]