Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
982 changes: 982 additions & 0 deletions API_EXAMPLES.md

Large diffs are not rendered by default.

547 changes: 547 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

681 changes: 681 additions & 0 deletions DOCUMENT_SYSTEM.md

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,18 @@ FROM node:20-alpine

WORKDIR /app

# Install only production dependencies with retry and timeout settings
# Install all dependencies with retry and timeout settings
COPY package.json package-lock.json* ./
RUN npm config set fetch-retries 5 && \
npm config set fetch-retry-mintimeout 20000 && \
npm config set fetch-retry-maxtimeout 120000 && \
npm ci --only=production || npm ci --only=production || npm ci --only=production
npm ci || npm ci || npm ci

# Copy Prisma files for migrations
COPY prisma ./prisma
COPY prisma.config.ts ./

# Generate Prisma client (needed for migrations)
RUN npx prisma generate

# Copy built files from builder stage
Expand Down
Loading