Skip to content

Commit fbf2175

Browse files
author
claudfuen
committed
Fix migration container: use db:push instead of runtime migrations
1 parent f5abd32 commit fbf2175

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/web/Dockerfile.migration

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ RUN echo "=== Directory structure ===" && \
3030
# Set environment for better error reporting
3131
ENV NODE_ENV=production
3232

33-
# Default command runs migrations with verbose output using Bun
34-
CMD ["sh", "-c", "echo 'Starting migration container...' && bun run scripts/run-migrations.ts"]
33+
# Use drizzle-kit push instead of runtime migrations for reliability
34+
CMD ["sh", "-c", "echo 'Starting migration container...' && bun run db:push"]

0 commit comments

Comments
 (0)