FROM mcr.microsoft.com/playwright:focal ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD 1 WORKDIR /app COPY package*.json ./ RUN npm install RUN apt-get update && apt-get install -y \ imagemagick \ ffmpeg \ && rm -rf /var/lib/apt/lists/* COPY . . RUN npx playwright install --with-deps EXPOSE 7860 CMD ["npm", "start"]