Botwa / Dockerfile
oman06's picture
Create Dockerfile
bbdc3c2 verified
Raw History Blame Contribute Delete
424 Bytes
FROM node:18-slim
# Install dependencies untuk menjalankan Chrome
RUN apt-get update && apt-get install -y \
google-chrome-stable \
fonts-ipafont-gothic \
fonts-wqy-zenhei \
fonts-thai-tlwg \
fonts-kacst \
fonts-freefont-ttf \
libxss1 \
--no-install-recommends
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
CMD ["node", "index.js"]