Update Dockerfile
Browse files3 unmodified lines456789102 unmodified lines1314151617181917 unmodified lines373839403 unmodified lines# Set the working directory inside the containerWORKDIR /app# Install git, Chromium, and other dependencies for PuppeteerRUN apk add --no-cache \git \chromium \2 unmodified linesfreetype-dev \harfbuzz \ca-certificates \ttf-freefont# 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"]3 unmodified lines456789102 unmodified lines131415161718192017 unmodified lines383940413 unmodified lines# Set the working directory inside the containerWORKDIR /app# Install git, Chromium, FFmpeg, and other dependencies for PuppeteerRUN apk add --no-cache \git \chromium \2 unmodified linesfreetype-dev \harfbuzz \ca-certificates \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"]
Dockerfile+4-3