FROM node:18-slim RUN apt-get update && \ apt-get install -y ffmpeg imagemagick && \ rm -rf /var/lib/apt/lists/* WORKDIR /usr/src/app COPY package*.json ./ RUN npm install --only=production COPY . . EXPOSE 7860 CMD [ "node", "index.js" ]