From f573f1ae195eac173f3afbe727737a66e18891ab Mon Sep 17 00:00:00 2001 From: Mhanif26 Date: Fri, 12 Jun 2026 09:17:36 +0700 Subject: [PATCH] chore: run database push on startup in Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 971a47e..76685d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,4 +18,4 @@ RUN npm run build EXPOSE 3000 # Start command -CMD ["npm", "run", "start"] +CMD ["sh", "-c", "npx drizzle-kit push && npm run start"]