Giter Club home page Giter Club logo

laravel's Introduction

laravel

Laravel docker base image can be used for development and production.

Features

Includes all you need for the Laravel framework:

  • PHP
  • Apache
  • Composer
  • Node.js
  • NPM

Can be used with MongoDB, MySQL, PostgreSQL, SQLite, and SQL Server out of the box.

Configuration

The image is configured to run Laravel out of the box. The Apache configuration is set up to use the /var/www/html/public directory as the web root.

It does not run migrations or similar tasks on startup. This is up to the user to implement.
It only runs the web portion of the Laravel application, not the queue worker, scheduler, or similar.

Usage

Can be used in a Dockerfile like this:

FROM ghcr.io/the0mikkel/laravel:latest

# Insert data
COPY --chown=app:app ./ /var/www/html/ 

# Run npm build to compile frontend assets
RUN npm install && npm run build && rm -rf node_modules && composer install --no-dev --optimize-autoloader && php artisan storage:link

Tags

Versioning is based on the PHP version and uses the latest Apache version for that PHP version, provided by the official PHP docker image.

  • latest - Latest version of Laravel
  • 8.3, 8.3.X - PHP 8.3 with Apache

Only the "latest" version of PHP is updated. See the latest version being updated in versions.txt.

laravel's People

Contributors

the0mikkel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.