docker/docs: dockerize and add+modify documentation
This commit is contained in:
parent
62e7a1393b
commit
429e89bf1d
4 changed files with 78 additions and 2 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue