Spaces:
Paused
Paused
Download Dockerfile from mruniquehacker/genz: direct link, hf CLI and curl.
- Browser
- Download file 447 Bytes
-
https://huggingface.co/spaces/mruniquehacker/genz/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mruniquehacker/genz/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mruniquehacker/genz/resolve/main/Dockerfile
447 Bytes
| FROM node:18-slim | |
| WORKDIR /app | |
| # Install required packages | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| git \ | |
| python3 \ | |
| make \ | |
| g++ \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Copy package files | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN npm install | |
| # Copy project files | |
| COPY . . | |
| # Create session directory with full permissions | |
| RUN mkdir -p session && \ | |
| chmod -R 777 session | |
| # Start the bot | |
| CMD ["node", "index.js"] |