Spaces:
Running
Running
Download Dockerfile from govtech/rai-bench: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/spaces/govtech/rai-bench/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/govtech/rai-bench/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/govtech/rai-bench/resolve/main/Dockerfile
363 Bytes
| FROM node:20-alpine AS builder | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm ci | |
| COPY . . | |
| RUN npm run build | |
| FROM node:20-alpine AS runner | |
| WORKDIR /app | |
| ENV NODE_ENV=production | |
| COPY --from=builder /app/.next/standalone ./ | |
| COPY --from=builder /app/.next/static ./.next/static | |
| COPY --from=builder /app/public ./public | |
| EXPOSE 7860 | |
| ENV PORT=7860 | |
| CMD ["node", "server.js"] | |