Quick and dirty nginx => PHP7fpm server running on alpine 3.7
Use make
in the directory to see your options.
Make your php app in /code
build
Build itbuildnocache
Build it without using cachetag
tag the container with the current VERSION (used for doing a release)run
run it as a normal containerrunvolume
run the container with the./code
mounted as a volume (for development)runshell
run the container with an interactive shell instead of default CMDconnect
Start a shell on the running containerwatchlog
connect to running containers logskill
kill the running containertest
Simple testsrelease
Create and push release to docker hubhelp
Shows this makefile