FROM node:20 WORKDIR /app COPY .npmrc ./ COPY package*.json ./ RUN npm install RUN apt-get update && \ apt-get install -y ffmpeg && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* COPY . . EXPOSE 7860 CMD ["node", "index.js"]