One-shot Laravel initializer. PHP-CLI + Node 22 + Composer. Install, build, migrate.
1.7K
PHP-CLI + Node 22 + Composer. Runs once at startup to initialize your Laravel project.
composer install (with --no-dev in production)npm install && npm run build (if package.json exists)| Tag | PHP Version | Node | Debian |
|---|---|---|---|
8.3-node22 | 8.3.30 | 22 | bookworm |
8.4-node22 | 8.4.17 | 22 | bookworm |
8.5-node22 | 8.5.2 | 22 | trixie |
latest | 8.5.2 | 22 | trixie |
setup:
image: codeboxindia/laravel-setup:8.5-node22
restart: "no"
user: "${UID:-1000}:${GID:-1000}"
volumes:
- .:/var/www/html
- ./docker/setup/setup.sh:/usr/local/bin/setup.sh # optional override
depends_on:
- mysql
Override the default setup script by bind-mounting your own setup.sh.
Content type
Image
Digest
sha256:e6847ade4…
Size
313.4 MB
Last updated
8 months ago
docker pull codeboxindia/laravel-setup