Spaces:
Sleeping
Sleeping
Download Dockerfile from Discord-Core-Bot/gateway-services: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/spaces/Discord-Core-Bot/gateway-services/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Discord-Core-Bot/gateway-services/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Discord-Core-Bot/gateway-services/resolve/main/Dockerfile
290 Bytes
| FROM node:22-alpine | |
| RUN apk add --no-cache \ | |
| fontconfig \ | |
| ttf-dejavu \ | |
| freetype \ | |
| freetype-dev \ | |
| fribidi \ | |
| python3 \ | |
| make \ | |
| g++ | |
| WORKDIR /app | |
| COPY package.json . | |
| RUN npm install --omit=dev | |
| COPY src ./src | |
| ENV NODE_ENV=production | |
| EXPOSE 7860 | |
| CMD ["node", "src/index.js"] |