| FROM node:latest | |
| RUN apt-get update && \ | |
| apt-get install -y software-properties-common && \ | |
| add-apt-repository multiverse && \ | |
| add-apt-repository non-free && \ | |
| apt-get update && \ | |
| apt-get install -y ffmpeg && \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY package.json . | |
| RUN npm install | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["node", "index.js"] | |