Files
Williams C 0cd48261f4 feat: update Docker configuration
Removed version specification from docker-compose.yml and added mysqli extension installation in Dockerfile.
2025-09-26 01:01:44 -03:00

17 lines
535 B
Bash
Executable File

#!/bin/bash
# /my-new-laravel-app/entrypoint.sh
# Install/update dependencies every time the container starts
echo "Running composer install..."
composer install --no-interaction --prefer-dist --optimize-autoloader
echo "Running npm install..."
npm install
# Run the Vite development server in the background
echo "Starting Vite dev server (npm run dev)..."
npm run dev &
# Start the Laravel development server in the foreground
echo "Starting Laravel dev server (php artisan serve)..."
php artisan serve --host=0.0.0.0 --port=8000