Download Dockerfile from quinnz/web: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/spaces/quinnz/web/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/quinnz/web/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/quinnz/web/resolve/main/Dockerfile
265 Bytes
| FROM node:18-alpine AS builder | |
| WORKDIR /app | |
| COPY package.json package-lock.json* ./ | |
| RUN npm install | |
| COPY . . | |
| RUN npm run build | |
| FROM node:18-alpine | |
| WORKDIR /app | |
| ENV NODE_ENV=production | |
| COPY --from=builder /app ./ | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["npm", "start"] | |