chore: run database push on startup in Dockerfile
This commit is contained in:
+1
-1
@@ -18,4 +18,4 @@ RUN npm run build
|
|||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
# Start command
|
# Start command
|
||||||
CMD ["npm", "run", "start"]
|
CMD ["sh", "-c", "npx drizzle-kit push && npm run start"]
|
||||||
|
|||||||
Reference in New Issue
Block a user