Univerter/Dockerfile
2024-01-17 20:40:14 -06:00

16 lines
No EOL
253 B
Docker

FROM node:20
RUN apt-get update \
&& apt install python3 pip ffmpeg -y \
&& python3 -m pip install -U yt-dlp --break-system-packages
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8080
CMD [ "node", "index.js" ]