Download Dockerfile from APRKDEV/wsb-bot: direct link, hf CLI and curl.
- Browser
- Download file 407 Bytes
-
https://huggingface.co/spaces/APRKDEV/wsb-bot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/APRKDEV/wsb-bot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/APRKDEV/wsb-bot/resolve/main/Dockerfile
407 Bytes
| # Use Node.js 20 base image | |
| FROM node:20 | |
| # Create and change to the app directory | |
| WORKDIR /usr/src/app | |
| # Copy package.json and package-lock.json first for caching | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN npm install | |
| # Copy the rest of the application code | |
| COPY . . | |
| # Expose the port (Render/HuggingFace use this for keep-alive) | |
| EXPOSE 7860 | |
| ENV PORT=7860 | |
| # Start the bot | |
| CMD [ "npm", "start" ] | |