Skip to content

Instantly share code, notes, and snippets.

@andrewscaya
Last active February 25, 2020 01:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewscaya/56698a09777ff892f7c90c75cf8c53d0 to your computer and use it in GitHub Desktop.
Save andrewscaya/56698a09777ff892f7c90c75cf8c53d0 to your computer and use it in GitHub Desktop.
Build a Laravel app with Linux for PHP (https://linuxforphp.net)
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