fuck this shit

This commit is contained in:
rattatwinko
2025-06-17 17:36:13 +02:00
parent a1e4238435
commit 7a90128247
6 changed files with 2951 additions and 906 deletions

View File

@@ -7,8 +7,8 @@ WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm ci
# First install only production dependencies
RUN npm install --omit=dev
# Copy source code and config files
COPY . .
@@ -23,10 +23,10 @@ FROM node:18-alpine AS runner
WORKDIR /app
# Copy package files
COPY package*.json ./
COPY --from=builder /app/package*.json ./
# Install production dependencies only
RUN npm ci --only=production
RUN npm install --omit=dev
# Copy necessary files from builder
COPY --from=builder /app/.next ./.next/