This commit is contained in:
2025-09-08 13:29:43 -07:00
parent 574feb1ea1
commit a62b4e8c12
12 changed files with 442 additions and 336 deletions

View File

@@ -7,14 +7,14 @@ WORKDIR /app
# Copy package.json and package-lock.json
COPY frontend/package*.json ./
# Install dependencies
RUN npm install
# Install all dependencies including devDependencies
RUN npm install --include=dev
# Copy source code
COPY frontend/ .
# Build application
RUN npm run build
# Run tests and build application
RUN npm test && npm run build
# Production stage
FROM node:20-alpine AS production