Skip to content

dreitier/php-laravel-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

php-laravel Docker image

This Docker image can be used as a starting point for Laravel applications based upon PHP >=8.0.

In you own Dockerfile, you might want to use the following:

FROM dreitier/php-laravel:latest
WORKDIR /var/www/app
COPY . ./
RUN php /usr/local/bin/composer.phar install
RUN npm install
# set recursive write permissions to storage folder
RUN chmod -R uag+w /var/www/app/storage
RUN rm -rf /var/www/html \
	&&  ln -s /var/www/app/public/ /var/www/html

Create new release

git tag php-X.Y-laravel-X.Y
git push origin main
git push origin --tags

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published