Skip to content

Instantly share code, notes, and snippets.

@andrewscaya
Last active February 25, 2020 01:24
Show Gist options
  • Select an option

  • Save andrewscaya/56698a09777ff892f7c90c75cf8c53d0 to your computer and use it in GitHub Desktop.

Select an option

Save andrewscaya/56698a09777ff892f7c90c75cf8c53d0 to your computer and use it in GitHub Desktop.

Revisions

  1. andrewscaya created this gist Feb 25, 2020.
    11 changes: 11 additions & 0 deletions Dockerfile.Laravel
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    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"]