FROM node:20 WORKDIR /app COPY .npmrc ./ COPY package*.json ./ RUN npm install RUN apt-get update && \ apt-get install -y ffmpeg python3.11-venv python3.11-distutils wget && \ wget https://bootstrap.pypa.io/get-pip.py && \ python3.11 get-pip.py && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* COPY . . EXPOSE 7860 CMD ["node", "index.js"]