Download Dockerfile from Snapkitty/sealforge: direct link, hf CLI and curl.
- Browser
- Download file 606 Bytes
-
https://huggingface.co/Snapkitty/sealforge/resolve/main/Dockerfile
- Command line
-
hf download hf://Snapkitty/sealforge/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/Snapkitty/sealforge/resolve/main/Dockerfile
606 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 | |
| RUN addgroup -S appgroup && adduser -S appuser -G appgroup | |
| WORKDIR /app | |
| COPY --from=builder /app/dist ./dist | |
| COPY --from=builder /app/node_modules ./node_modules | |
| COPY package.json . | |
| VOLUME ["/app/data"] | |
| USER appuser | |
| EXPOSE 3000 | |
| HEALTHCHECK --interval=30s --timeout=5s --start-period=10s \ | |
| CMD node -e "require('http').get('http://localhost:3000/health', r => process.exit(r.statusCode === 200 ? 0 : 1)).on('error', () => process.exit(1))" | |
| CMD ["node", "dist/index.js"] | |