13 lines
No EOL
212 B
Docker
13 lines
No EOL
212 B
Docker
FROM node:20
|
|
RUN sudo add-apt-repository ppa:tomtomtom/yt-dlp && apt update && apt install yt-dlp -y
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package*.json ./
|
|
RUN npm install
|
|
|
|
COPY . .
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD [ "node", "index.js" ] |