Created
January 22, 2019 15:33
-
-
Save mjarkk/fa1952d0c407875439b8ea74bed460a4 to your computer and use it in GitHub Desktop.
A quick and dirty way to run a Laravel app in a container
This file contains 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
#!/bin/bash | |
# After running this: | |
# cd /app | |
# composer install | |
# php artisan serve | |
docker run \ | |
-it \ | |
--net=host \ | |
--mount type=bind,source=/home/mark/Documents/bla/bla/bla/laravelApp,target=/app \ | |
--rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment