Update Dockerfile
Browse files3 unmodified lines4567789102 unmodified lines13141516161718192017 unmodified lines38394040413 unmodified lines# Set the working directory inside the containerWORKDIR /app
# Install git, Chromium, and other dependencies for Puppeteer# Install git, Chromium, FFmpeg, and other dependencies for PuppeteerRUN apk add --no-cache \ git \ chromium \2 unmodified lines freetype-dev \ harfbuzz \ ca-certificates \ ttf-freefont ttf-freefont \ ffmpeg
# Copy package.json and package-lock.json first to leverage Docker cachingCOPY package*.json ./17 unmodified linesEXPOSE 7860
# Run the application using PM2CMD ["pm2-runtime", "index.js", "--name", "API"]CMD ["pm2-runtime", "index.js", "--name", "API"]Dockerfile+4-3