server migration to TypeScript

This commit is contained in:
2022-01-30 00:53:08 +01:00
parent 7d745ec4cc
commit 9dcfade3fd
18 changed files with 346 additions and 133 deletions

View File

@@ -8,9 +8,8 @@ RUN apt-get install curl ffmpeg -y
RUN apt-get install psmisc
RUN npm install
COPY . .
RUN npm run build
RUN chmod +x ./server/fetch-yt-dlp.sh
RUN ./server/fetch-yt-dlp.sh && mv yt-dlp ./server
RUN chmod +x ./fetch-yt-dlp.sh
RUN npm run build-all
RUN rm -rf .parcel-cache
EXPOSE 3022
CMD [ "node" , "./server.js" ]
CMD [ "node" , "./dist/main.js" ]