Spaces:
Configuration error
Configuration error
Download frontend/Dockerfile from Sivaneshakumar/sanjeevani-api: direct link, hf CLI and curl.
- Browser
- Download file 370 Bytes
-
https://huggingface.co/spaces/Sivaneshakumar/sanjeevani-api/resolve/main/frontend/Dockerfile
- Command line
-
hf download hf://spaces/Sivaneshakumar/sanjeevani-api/frontend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Sivaneshakumar/sanjeevani-api/resolve/main/frontend/Dockerfile
370 Bytes
| FROM node:22-alpine AS builder | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm ci | |
| COPY . . | |
| RUN npm run build | |
| FROM node:22-alpine AS runner | |
| WORKDIR /app | |
| ENV NODE_ENV=production | |
| ENV PORT=3000 | |
| COPY --from=builder /app/public ./public | |
| COPY --from=builder /app/.next/standalone ./ | |
| COPY --from=builder /app/.next/static ./.next/static | |
| EXPOSE 3000 | |
| CMD ["node", "server.js"] | |