Public | Automated Build

Last pushed: 3 months ago
Short Description
Dockerize Laravel Framework
Full Description

Dockerize Laravel Framework

Do you like laravel framework? but you do not know how to build the develop environment? do not worry, just one command you can easy to use laravel framework now, focus on your code not build develop environment! :P

How To Use

Create a new project

docker run -t --rm -v /tmp:/home/laravel/project shawnoy/laravel laravel new project/blog

Run from a git repository

git clone https://github.com/ShawnOY/laravel-demo.git /tmp/blog
docker run -it --rm -v /tmp/blog:/home/laravel/blog shawnoy/laravel
cd blog
composer update && npm install
cp .env.example .env
php artisan key:generate
php artisan serve

Notice

This environment just for development, DO NOT USE IN THE PRODUCTION.

Docker Pull Command
Owner
shawnoy
Source Repository

Comments (0)