This commit is contained in:
cottongin
2025-11-03 17:56:15 -05:00
parent 140988d01d
commit f52754ac87
8 changed files with 1194 additions and 45 deletions

View File

@@ -2,8 +2,20 @@ FROM node:18-alpine
WORKDIR /app
# Install wget for healthcheck
RUN apk add --no-cache wget
# Install Chromium, fonts, and dependencies for Puppeteer
RUN apk add --no-cache \
wget \
chromium \
nss \
freetype \
harfbuzz \
ca-certificates \
ttf-freefont \
font-noto-emoji
# Tell Puppeteer to use the installed Chromium
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
# Copy package files
COPY package*.json ./