final railway mysql setup

This commit is contained in:
Ryanpratama01 2026-03-16 04:06:54 +07:00
parent d2dd3dc51c
commit da8413046d
2 changed files with 3 additions and 4 deletions

View File

@ -27,4 +27,4 @@ RUN composer install --no-interaction --optimize-autoloader --no-dev
RUN npm install RUN npm install
RUN npm run build RUN npm run build
CMD php artisan serve --host=0.0.0.0 --port=${PORT:-8080} CMD php artisan migrate --force && php artisan serve --host=0.0.0.0 --port=${PORT:-8080}

View File

@ -4,8 +4,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "vite build", "build": "vite build",
"dev": "vite", "dev": "vite"
"postinstall": "php artisan migrate --force"
}, },
"devDependencies": { "devDependencies": {
"@tailwindcss/forms": "^0.5.2", "@tailwindcss/forms": "^0.5.2",