- Updated app name in all source files, documentation, and configuration - Changed package names in package.json files - Updated header, titles, and user-facing text - Modified email templates and notification text - Updated steering rules and spec documents
29 lines
408 B
Docker
29 lines
408 B
Docker
# Backend Dockerfile
|
|
FROM node:20-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy package files
|
|
COPY server/package*.json ./
|
|
|
|
# Install dependencies
|
|
RUN npm ci
|
|
|
|
# Copy prisma schema first for generation
|
|
COPY server/prisma ./prisma
|
|
|
|
# Generate Prisma client
|
|
RUN npx prisma generate
|
|
|
|
# Copy source code
|
|
COPY server/ .
|
|
|
|
# Build TypeScript
|
|
RUN npm run build
|
|
|
|
# Expose port
|
|
EXPOSE 3000
|
|
|
|
# Start the application
|
|
CMD ["npm", "start"]
|