Spaces:
Runtime error
Runtime error
Download Dockerfile from xiaoyeAI/partyrock2api: direct link, hf CLI and curl.
- Browser
- Download file 303 Bytes
-
https://huggingface.co/spaces/xiaoyeAI/partyrock2api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/xiaoyeAI/partyrock2api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/xiaoyeAI/partyrock2api/resolve/main/Dockerfile
303 Bytes
| FROM node:18-slim | |
| RUN apt-get update && apt-get install -y \ | |
| wget \ | |
| gnupg \ | |
| ca-certificates \ | |
| procps \ | |
| chromium \ | |
| chromium-sandbox | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install | |
| COPY . . | |
| ENV CHROME_PATH=/usr/bin/chromium | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["npm", "start"] |