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.
This commit is contained in:
syntaxbullet
2026-02-12 12:19:02 +01:00
parent 8c306fbd23
commit 29bf0e6f1c

View File

@@ -33,20 +33,3 @@ EXPOSE 3000
# Default command # Default command
CMD ["bun", "run", "dev"] 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"]