Features
Docker
Production-ready Docker setup for Larasonic
🐳 Docker Setup
Larasonic uses a multi-stage build process with FrankenPHP for optimal production performance.
📦 Production Dockerfile
🚀 Usage
Build the image:
Run the container:
🔌 Adding PHP Extensions
Need more PHP extensions? Modify the Dockerfile:
🛠️ Custom Caddy Modules
For custom Caddy modules, check out the FrankenPHP Docker documentation.
The default setup uses Alpine Linux for smaller image size. For better compatibility, switch to Debian by changing the base image to dunglas/frankenphp:1.4.0-php8.3-bookworm
.