2023-10-25 18:31:42 -05:00
|
|
|
FROM node:20
|
2024-01-17 19:48:08 -06:00
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt install python3 pip -y \
|
|
|
|
&& python3 -m pip install -U yt-dlp --break-system-packages
|
2023-10-25 18:31:42 -05:00
|
|
|
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
|
|
|
COPY package*.json ./
|
|
|
|
RUN npm install
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
EXPOSE 8080
|
|
|
|
|
|
|
|
CMD [ "node", "index.js" ]
|