Security Fixes

This commit is contained in:
Eric Gullickson
2025-08-24 14:39:50 -05:00
parent 000e71a026
commit e22d643ae3
19 changed files with 187 additions and 8838 deletions

View File

@@ -19,7 +19,7 @@ RUN npm install && npm cache clean --force
COPY . .
# Build the application
RUN npm run build:docker
RUN npm run build
# Stage 2: Production runtime
FROM node:20-alpine AS production
@@ -30,8 +30,9 @@ RUN apk add --no-cache dumb-init
# Set working directory
WORKDIR /app
# Copy package files
# Copy package files and any lock file generated in builder stage
COPY package*.json ./
COPY --from=builder /app/package-lock.json ./
# Install only production dependencies
RUN npm ci --omit=dev && npm cache clean --force