Files
indexipro/Dockerfile
T
juli 5f2d2dc43f IndexiPro: AI-assisted catalogue for estates and collections
Web app (browse, search, dashboard, custom fields, family read-only links),
Android capture app with offline upload queue and QR pairing, and an MCP
server so an AI subscription can identify, value and list items.
2026-11-12 17:05:01 +01:00

16 lines
619 B
Docker

FROM node:22-bookworm-slim AS deps
RUN apt-get update && apt-get install -y --no-install-recommends python3 make g++ && rm -rf /var/lib/apt/lists/*
WORKDIR /app/server
COPY server/package.json server/package-lock.json ./
RUN npm ci --omit=dev
FROM node:22-bookworm-slim
WORKDIR /app/server
COPY --from=deps /app/server/node_modules ./node_modules
COPY server/ ./
ENV NODE_ENV=production DATA_DIR=/data PORT=8080
VOLUME /data
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=5s CMD node -e "fetch('http://localhost:8080/healthz').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"
CMD ["node", "src/index.js"]