ci: add migrator target to Dockerfile for deployment pipeline
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 9s
Build & Deploy / 🧪 QA (push) Successful in 1m55s
Build & Deploy / 🏗️ Build (push) Successful in 8m40s
Build & Deploy / 🚀 Deploy (push) Successful in 1m23s
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-03-07 23:41:42 +01:00
parent 590c542b73
commit 7f1aeaee7e

View File

@@ -38,6 +38,11 @@ FROM base AS development
ENV NODE_ENV=development
CMD ["pnpm", "dev:local"]
# Stage: Migrator
FROM base AS migrator
ENV NODE_ENV=production
CMD ["pnpm", "cms:migrate"]
# Build application
# Stage 3: Builder (Production)
FROM base AS builder