Spaces:
Paused
Paused
Download Dockerfile from Statical/Reya-Discord-Bot: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/spaces/Statical/Reya-Discord-Bot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Statical/Reya-Discord-Bot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Statical/Reya-Discord-Bot/resolve/main/Dockerfile
311 Bytes
| FROM ubuntu:20.04 | |
| RUN apt-get update && \ | |
| apt-get install -y curl git && \ | |
| curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \ | |
| apt-get install -y nodejs && \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /usr/src/app | |
| COPY package*.json ./ | |
| RUN npm install | |
| COPY . . | |
| CMD ["node", "index.js"] |