Spaces:
Sleeping
Sleeping
Download Dockerfile from formworkid/botwa: direct link, hf CLI and curl.
- Browser
- Download file 577 Bytes
-
https://huggingface.co/spaces/formworkid/botwa/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/formworkid/botwa/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/formworkid/botwa/resolve/main/Dockerfile
577 Bytes
| FROM node:18-slim | |
| # Install Chromium dan library pendukung Chrome di server Linux Koyeb | |
| RUN apt-get update && apt-get install -y \ | |
| chromium \ | |
| fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 \ | |
| --no-install-recommends \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Beritahu Puppeteer untuk memakai Chromium yang baru di-install | |
| ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \ | |
| PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install | |
| COPY . . | |
| CMD ["node", "index.js"] |