Last active
February 25, 2020 01:24
-
-
Save andrewscaya/56698a09777ff892f7c90c75cf8c53d0 to your computer and use it in GitHub Desktop.
Build a Laravel app with Linux for PHP (https://linuxforphp.net)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM asclinux/linuxforphp-8.2-ultimate:7.1-nts | |
MAINTAINER Andrew Caya | |
RUN cd /srv && composer create-project laravel/laravel:~5.4 app && mv www www.OLD && ln -s app/public www | |
RUN chmod -R 777 /srv/app/storage | |
ENTRYPOINT ["/bin/lfphp"] | |
CMD ["--mysql", "--phpfpm", "--apache"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment