Sign inSign up

devdrops/php-server

By devdrops

•Updated over 7 years ago

A Docker image that provides the usage for PHP built-in server.

Image
0

99

devdrops/php-server repository overview

⁠PHP Built-in Server

A Docker image that provides the usage for PHP built-in server.

⁠How to Use?

  1. Add the image to your project.
  2. Run the following:
docker run -ti \
  -v $(pwd):/code \
  -w /code \
  -p 8080:8080 \
  devdrops/php-server:latest \
  php -S 0.0.0.0:8080
  1. You can access the project content at http://0.0.0.0:8080/ on the host machine.

Tag summary

Content type

Image

Digest

Size

140.4 MB

Last updated

over 7 years ago

docker pull devdrops/php-server