add Dockerfile
This commit is contained in:
parent
f0c77bed3c
commit
04edf580e7
16
Dockerfile
16
Dockerfile
@ -1 +1,15 @@
|
||||
|
||||
FROM node:20.8.1
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./src/ .
|
||||
RUN npm install
|
||||
COPY ./cookies.txt ./cookies.txt
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y ffmpeg curl && \
|
||||
curl -L https://github.com/yt-dlp/yt-dlp/releases/download/2025.09.23/yt-dlp -o /usr/local/bin/yt-dlp && \
|
||||
chmod +x /usr/local/bin/yt-dlp && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
#ENTRYPOINT ["yt-dlp", "--version"]
|
||||
ENTRYPOINT ["node", "bot.js"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user