Initial commit - Facturation SANTINOVA

This commit is contained in:
manus-admin
2026-04-23 04:49:21 -04:00
commit 6ab833945c
55 changed files with 12642 additions and 0 deletions

16
Dockerfile.migrate Normal file
View File

@@ -0,0 +1,16 @@
# Dockerfile for database migration and seeding
FROM node:22-alpine
WORKDIR /app/backend
# Copy package files
COPY backend/package.json backend/pnpm-lock.yaml* backend/yarn.lock* backend/package-lock.json* ./
# Install dependencies
RUN npm install --legacy-peer-deps
# Copy source code
COPY backend/ ./
# Run migration then seed
CMD ["sh", "-c", "npx tsx src/db/migrate.ts && npx tsx src/db/seed.ts"]