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 /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


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

Docker Pull Command
Source Repository

Comments (0)