feat: Implement local backend development setup with Docker Compose, introduce .dockerignore, and remove dev dependency pruning from the Dockerfile.
All checks were successful
Build and Deploy Backend / Build Backend Docker Image (push) Successful in 32s
Build and Deploy Frontend Learner / Build Frontend Learner Docker Image (push) Successful in 34s
Build and Deploy Backend / Deploy E-learning Backend to Dev Server (push) Successful in 3s
Build and Deploy Frontend Learner / Deploy E-learning Frontend Learner to Dev Server (push) Successful in 2s
Build and Deploy Backend / Notify Deployment Status (push) Successful in 2s
Build and Deploy Frontend Learner / Notify Deployment Status (push) Successful in 2s

This commit is contained in:
JakkrapartXD 2026-02-10 14:26:09 +07:00
parent 0691ca40cd
commit d2e78dcfbb
3 changed files with 56 additions and 3 deletions

View file

@ -45,9 +45,6 @@ RUN pnpm install --frozen-lockfile --ignore-scripts=false
COPY --from=builder /app/prisma ./prisma
RUN pnpm prisma:generate
# Remove devDependencies (keep bcrypt and prisma client)
RUN pnpm prune --prod
# Copy built files from builder
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/public ./public