CoolFace
Apppublic

Deva0718/devi-md-bot

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
Dockerfile26 linesDownload Raw Back to root
1# Use a lightweight Node.js image2FROM node:20-bullseye-slim3 4# Install Chromium and required Linux libraries for WhatsApp Web5RUN apt-get update && apt-get install -y \6    chromium \7    fonts-ipafont-gothic \8    fonts-wqy-zenhei \9    fonts-thai-tlwg \10    fonts-kacst \11    fonts-freefont-ttf \12    libxss1 \13    --no-install-recommends14 15# Tell Puppeteer to use the installed browser instead of downloading a new one16ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true17ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium18 19WORKDIR /app20COPY package*.json ./21RUN npm install22COPY . .23 24# Hugging Face uses port 786025EXPOSE 786026CMD ["node", "server.js"]