Spaces:
Build error
Build error
Download Dockerfile from theman3232/Botwa: direct link, hf CLI and curl.
- Browser
- Download file 424 Bytes
-
https://huggingface.co/spaces/theman3232/Botwa/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/theman3232/Botwa/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/theman3232/Botwa/resolve/main/Dockerfile
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"] | |