Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 750 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 750 Bytes

Docker Alpine/PHP/CLI/Composer development image

Build Status

Pull and run the image :

$ docker run --rm -it -p 8000:8000 -v $YOUR_PROJECT_ROOT:/srv/web antoine87/dev

Once in the shell of the container, start the built-in PHP server yourself or with the default entrypoint (by default listens on port 8000 to the /srv/web/public directory)

/srv/web $ entrypoint
PHP 7.3.4 Development Server started at Sun Apr 28 15:50:12 2019
Listening on http://0.0.0.0:8000
Document root is /srv/web/public
Press Ctrl-C to quit.

By default entrypoint listens on port 8000 to the /srv/web/public directory.