From 29bf0e6f1c1bdf24221024502f0331f741ed368e Mon Sep 17 00:00:00 2001 From: syntaxbullet Date: Thu, 12 Feb 2026 12:19:02 +0100 Subject: [PATCH] refactor(docker): remove duplicate production stage from Dockerfile Remove the 'production' stage from Dockerfile that was: - Duplicating functionality already in Dockerfile.prod - Incorrectly running 'bun run dev' instead of production command VPS deployments continue to use Dockerfile.prod as the single source of truth for production builds. Development Dockerfile now only contains development stage. --- Dockerfile | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/Dockerfile b/Dockerfile index cb36ec8..e84b810 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,20 +33,3 @@ EXPOSE 3000 # Default command CMD ["bun", "run", "dev"] - -# ============================================ -# Production stage - full app with source code -# ============================================ -FROM base AS production - -# Copy dependencies from deps stage -COPY --from=deps /app/node_modules ./node_modules - -# Copy source code -COPY . . - -# Expose ports -EXPOSE 3000 - -# Default command -CMD ["bun", "run", "dev"]