final railway mysql setup
This commit is contained in:
parent
d2dd3dc51c
commit
da8413046d
|
|
@ -27,4 +27,4 @@ RUN composer install --no-interaction --optimize-autoloader --no-dev
|
|||
RUN npm install
|
||||
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}
|
||||
|
|
@ -4,8 +4,7 @@
|
|||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"dev": "vite",
|
||||
"postinstall": "php artisan migrate --force"
|
||||
"dev": "vite"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/forms": "^0.5.2",
|
||||
|
|
@ -19,4 +18,4 @@
|
|||
"tailwindcss": "^3.1.0",
|
||||
"vite": "^7.0.7"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue