techblog/docker/entrypoint.sh
PeterChrz a900f58c26
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m31s
feat: add entrypoint script to run migrations on startup
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 00:26:39 -04:00

6 lines
116 B
Bash

#!/bin/sh
set -e
php artisan migrate --force
exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf