Skip to content

This is php based image customized for laravel deployment.

License

Notifications You must be signed in to change notification settings

arakattack/laravel-deployer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

                __        __  __           __  
 ___ ________ _/ /_____ _/ /_/ /____ _____/ /__
/ _ `/ __/ _ `/  '_/ _ `/ __/ __/ _ `/ __/  '_/
\_,_/_/  \_,_/_/\_\\_,_/\__/\__/\_,_/\__/_/\_\ 
            ___/ /__ ___  / /__  __ _____ ____ 
           / _  / -_) _ \/ / _ \/ // / -_) __/ 
           \_,_/\__/ .__/_/\___/\_, /\__/_/    
                  /_/          /___/           

PHP 7.4, Nodejs 10.x, npm 6.12.x , python 2.7

Docker Image CI

Usage

Dockerfile

FROM arakattack/laravel-deployer:latest

ADD . /var/www/html
COPY . /var/www/html
WORKDIR /var/www/html


RUN touch storage/logs/laravel.log
RUN composer global require hirak/prestissimo
RUN composer install
COPY .env.example .env
RUN php artisan view:clear
RUN php artisan config:clear
RUN php artisan cache:clear
RUN php artisan vendor:publish --all
RUN php artisan storage:link
RUN composer  dump-autoload

RUN chmod -R 777 /var/www/html/storage
RUN chmod -R 755 /var/www/html/vendor

About

This is php based image customized for laravel deployment.

Resources

License

Stars

Watchers

Forks

Packages

No packages published