Skip to content

artembeloglazov/docker-php-build-in-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-php-build-in-server

DockerFile link

Usage:

docker run --name pbi-web-server -d -p :80 artembeloglazov/php-build-in-server:latest

To view the port enter this:

docker ps

The port is highlighted in the screenshot in red square

Get the port of web-server

Open in browser: http://localhost:PORT

You could enter custom port:

docker run --name pbi-web-server -d -p 32333:80 artembeloglazov/php-build-in-server:latest

Open in browser: http://localhost:32333

Mounting /path/to/dir/:

docker run --name pbi-web-server -d -p :80 -v /path/to/dir/:/var/www/ artembeloglazov/php-build-in-server:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published