docker/docs: dockerize and add+modify documentation

This commit is contained in:
Aidan 2025-04-14 20:09:13 -04:00
parent 62e7a1393b
commit 429e89bf1d
4 changed files with 78 additions and 2 deletions

18
Dockerfile Normal file
View file

@ -0,0 +1,18 @@
FROM node:20-slim
# Install ffmpeg and other deps
RUN apt-get update && apt-get install -y ffmpeg && apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
RUN chmod +x /usr/src/app/src/plugins/yt-dlp/yt-dlp
VOLUME /usr/src/app/config.env
CMD ["npm", "start"]