Sign inSign up

devoption/ignite

By devoption

•Updated about 3 years ago

Production-ready image for Laravel applications

Image
1

233

devoption/ignite repository overview

⁠DevOption Ignite

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.

⁠Usage

  • Install laravel/octane in your Laravel application.
composer require laravel/octane
  • Create a new 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
  • Build the image
docker build -t application-name .

Note: Replace application-name with the name of your application.

  • Run the container
docker run -d -p 80:8000 application-name

Note: Replace application-name with the name of your application.

Tag summary

Content type

Image

Digest

sha256:61e900284…

Size

204 MB

Last updated

about 3 years ago

docker pull devoption/ignite