Production-ready image for Laravel applications
233
DevOption Ignite is a production ready Docker image for Laravel applications. Since the image uses PHP Swoole and Laravel Octane, it is a perfect fit for Laravel applications that need to handle a lot of concurrent requests.
laravel/octane in your Laravel application.composer require laravel/octane
Dockerfile in your Laravel project root directory.FROM devoption/ignite:latest
# Copy the application files
COPY . /var/www/html
# Change the permissions of the storage and bootstrap directories
RUN chmod -R 777 /var/www/html/storage
RUN chmod -R 777 /var/www/html/bootstrap/cache
docker build -t application-name .
Note: Replace
application-namewith the name of your application.
docker run -d -p 80:8000 application-name
Note: Replace
application-namewith the name of your application.
Content type
Image
Digest
sha256:61e900284…
Size
204 MB
Last updated
about 3 years ago
docker pull devoption/ignite