Skip to content

Instantly share code, notes, and snippets.

@eknowlton
Created September 15, 2020 19:19
Show Gist options
  • Save eknowlton/50d2dfeaee4e00664fb473b51a3bcd5d to your computer and use it in GitHub Desktop.
Save eknowlton/50d2dfeaee4e00664fb473b51a3bcd5d to your computer and use it in GitHub Desktop.
Create laravel project with docker, no native php
#!/bin/bash
docker run --rm --interactive --tty \
--volume $PWD:/app \
--volume ${COMPOSER_HOME:-$HOME/.composer}:/tmp composer composer create-project --prefer-dist laravel/laravel app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment