Download Dockerfile from qr-code/cafe: direct link, hf CLI and curl.
- Browser
- Download file 266 Bytes
-
https://huggingface.co/spaces/qr-code/cafe/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/qr-code/cafe/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/qr-code/cafe/resolve/main/Dockerfile
266 Bytes
| FROM node:20-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY package.json package-lock.json ./ | |
| RUN npm ci --only=production 2>&1 || npm install --production | |
| # Copy source | |
| COPY . . | |
| # HF Spaces sets PORT env var | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["node", "server.js"] | |