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 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}
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue